Skip to content

Commit

Permalink
fix: update house_plants table structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrou5 authored Mar 13, 2024
1 parent 5c2fb93 commit f079b96
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions qbox.sql
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,17 @@ CREATE TABLE IF NOT EXISTS `player_houses` (

CREATE TABLE IF NOT EXISTS `house_plants` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`building` varchar(50) DEFAULT NULL,
`stage` varchar(50) DEFAULT 'stage-a',
`sort` varchar(50) DEFAULT NULL,
`gender` varchar(50) DEFAULT NULL,
`food` int(11) DEFAULT 100,
`health` int(11) DEFAULT 100,
`progress` int(11) DEFAULT 0,
`coords` text DEFAULT NULL,
`plantid` varchar(50) DEFAULT NULL,
`building` varchar(30) NOT NULL,
`stage` varchar(11) NOT NULL DEFAULT 'stage1',
`sort` varchar(30) NOT NULL,
`gender` enum('male', 'female') NOT NULL,
`food` tinyint NOT NULL DEFAULT 100,
`health` tinyint NOT NULL DEFAULT 100,
`progress` tinyint NOT NULL DEFAULT 0,
`coords` tinytext NOT NULL,
PRIMARY KEY (`id`),
KEY `building` (`building`),
KEY `plantid` (`plantid`)
) ENGINE=InnoDB AUTO_INCREMENT=1;
KEY `building` (`building`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;

CREATE TABLE IF NOT EXISTS `lapraces` (
`id` int(11) NOT NULL AUTO_INCREMENT,
Expand Down

0 comments on commit f079b96

Please sign in to comment.