Files
go-highlite/test_inputs/1.sql
T
2023-08-05 21:03:59 +01:00

19 lines
688 B
SQL

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;