am I actually working on this project again

This commit is contained in:
2023-04-09 15:33:21 -07:00
parent 31d8522470
commit 8c82234668
6 changed files with 181 additions and 9 deletions

26
create_starters_table.sql Normal file
View File

@@ -0,0 +1,26 @@
CREATE TABLE vckonline.starters (
idstarters int(11) auto_increment NOT NULL,
name varchar(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
gold_cost int(11) NOT NULL,
roll_match1 int(11) NOT NULL,
roll_match2 int(11) DEFAULT 0 NULL,
shadow_count int(11) DEFAULT 0 NOT NULL,
holy_count int(11) DEFAULT 0 NOT NULL,
soldier_count int(11) DEFAULT 0 NOT NULL,
worker_count int(11) DEFAULT 0 NOT NULL,
gold_payout_on_turn int(11) DEFAULT 0 NOT NULL,
gold_payout_off_turn int(11) DEFAULT 0 NOT NULL,
strength_payout_on_turn int(11) DEFAULT 0 NOT NULL,
strength_payout_off_turn int(11) DEFAULT 0 NOT NULL,
magic_payout_on_turn int(11) DEFAULT 0 NOT NULL,
magic_payout_off_turn int(11) DEFAULT 0 NOT NULL,
has_special_payout_on_turn tinyint(4) DEFAULT 0 NOT NULL,
has_special_payout_off_turn tinyint(4) DEFAULT 0 NOT NULL,
special_payout_on_turn mediumtext CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL NULL,
special_payout_off_turn mediumtext CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL NULL,
special_citizen tinyint(4) DEFAULT 0 NOT NULL,
PRIMARY KEY (idstarters)
)
ENGINE=InnoDB
DEFAULT CHARSET=latin1
COLLATE=latin1_swedish_ci;