Skip to content

Commit

Permalink
sql region
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Jul 24, 2024
1 parent 25fd41c commit 62a2ed5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dbscript/struct.sql
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,25 @@ CREATE TABLE `sa_category` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


--
-- Table structure for table `sa_region`
--

DROP TABLE IF EXISTS `sa_region`;
CREATE TABLE `sa_region` (
`id` int NOT NULL AUTO_INCREMENT,
`pid` int DEFAULT NULL COMMENT '父分类ID',
`title` varchar(100) DEFAULT NULL COMMENT '地区名称',
`title_en` varchar(150) DEFAULT NULL COMMENT '地区名称',
`short` varchar(50) DEFAULT NULL COMMENT '地区简称',
`code` varchar(10) DEFAULT NULL COMMENT '地区简称',
`name` varchar(50) DEFAULT NULL COMMENT '地区拼音',
`sort` int DEFAULT 0 COMMENT '排序',
`description` varchar(255) DEFAULT NULL COMMENT '分类描述',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Table structure for table `sa_subscribe`
--
Expand Down

0 comments on commit 62a2ed5

Please sign in to comment.