diff --git a/Open_L1/db/sql/init.sh b/Open_L1/db/sql/init.sh new file mode 100644 index 0000000..5c2fc82 --- /dev/null +++ b/Open_L1/db/sql/init.sh @@ -0,0 +1,9 @@ +DROP TABLE IF EXISTS `castles`; +CREATE TABLE `castles` ( + `id` tinyint(3) unsigned NOT NULL, + `name` varchar(255) DEFAULT NULL, + `war_time` datetime DEFAULT NULL, + `tax_rate` tinyint(3) unsigned NOT NULL DEFAULT '0', + `public_money` int(10) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file