From ddcbfc6f55ff4cc9445bc08da43691175861d8f7 Mon Sep 17 00:00:00 2001 From: Ivor Barhansky Date: Wed, 21 Oct 2020 22:39:13 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20'Database'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Текущий дамп за сегодняшнее число. --- Database/battles.sql | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Database/battles.sql diff --git a/Database/battles.sql b/Database/battles.sql new file mode 100644 index 0000000..3f82453 --- /dev/null +++ b/Database/battles.sql @@ -0,0 +1,34 @@ +/* + Navicat Premium Data Transfer + + Source Server : battles + Source Server Type : MariaDB + Source Server Version : 100317 + Source Host : 192.168.20.100:3306 + Source Schema : battles + + Target Server Type : MariaDB + Target Server Version : 100317 + File Encoding : 65001 + + Date: 21/10/2020 20:15:16 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for bank +-- ---------------------------- +DROP TABLE IF EXISTS `bank`; +CREATE TABLE `bank` ( + `user_id` smallint(6) NOT NULL, + `money` smallint(5) UNSIGNED NULL DEFAULT 0, + UNIQUE INDEX `bank_id_uindex`(`user_id`) USING BTREE, + CONSTRAINT `bank_users_id_fk` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Records of bank +-- ---------------------------- +INSERT INTO `bank` VALUES (2, 0);