mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 04:46:30 -04:00
SQL test case
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
CREATE TABLE IF NOT EXISTS `system_user` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`email` varchar(50) NOT NULL,
|
||||
`first_name` varchar(40) NOT NULL,
|
||||
`last_name` varchar(40) NOT NULL,
|
||||
`sha1_password` varchar(40) NOT NULL,
|
||||
`salt` varchar(32) NOT NULL,
|
||||
`created_by` int(11) DEFAULT NULL,
|
||||
`status` tinyint(4) NOT NULL,
|
||||
`is_primary` tinyint(4) DEFAULT '0',
|
||||
`status_updated_at` datetime DEFAULT NULL,
|
||||
`created_at` datetime DEFAULT NULL,
|
||||
`updated_at` datetime DEFAULT NULL,
|
||||
`deleted_at` datetime DEFAULT NULL,
|
||||
`role` varchar(40) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `system_user_email_unique` (`email`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
||||
Reference in New Issue
Block a user