L1/Open_L1/db/sql/init.sh

9 lines
335 B
Bash
Raw Normal View History

2022-02-06 22:38:29 +00:00
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;