Add 'Open_L1/db/sql/init.sh'

This commit is contained in:
Sarimoko 2022-02-06 22:38:29 +00:00
parent 1965b820ca
commit e630feeb9b
1 changed files with 9 additions and 0 deletions

9
Open_L1/db/sql/init.sh Normal file
View File

@ -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;