# | Name | Type | Collation | Attributes | Null | Default | Comments | Extra |
---|---|---|---|---|---|---|---|---|
1 | int(11) | No | None | AUTO_INCREMENT | ||||
2 | varchar(255) | latin1_swedish_ci | No | ADMIN | ||||
3 | varchar(255) | latin1_swedish_ci | Yes | NULL | ||||
4 | varchar(10) | latin1_swedish_ci | Yes | NULL | ||||
5 | varchar(30) | latin1_swedish_ci | No | None | ||||
6 | varchar(255) | latin1_swedish_ci | No | None | ||||
7 | varchar(255) | latin1_swedish_ci | Yes | NULL | ||||
8 | date | Yes | NULL | |||||
9 | varchar(255) | latin1_swedish_ci | No | ACTIVE | ||||
10 | varchar(255) | latin1_swedish_ci | Yes | NULL | ||||
11 | timestamp | Yes | current_timestamp() | |||||
12 | int(11) | Yes | NULL | |||||
13 | datetime | Yes | NULL | |||||
14 | int(11) | Yes | NULL | |||||
15 | timestamp | Yes | current_timestamp() |
CREATE TABLE `op_user` (
`id` int(11) NOT NULL,
`user_type` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT 'ADMIN',
`full_name` varchar(255) CHARACTER SET latin1 DEFAULT NULL,
`user_mobile` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
`user_name` varchar(30) CHARACTER SET latin1 NOT NULL,
`user_pass` varchar(255) CHARACTER SET latin1 NOT NULL,
`user_email` varchar(255) CHARACTER SET latin1 DEFAULT NULL,
`doc` date DEFAULT NULL,
`status` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT 'ACTIVE',
`token` varchar(255) CHARACTER SET latin1 DEFAULT NULL,
`last_login` timestamp NULL DEFAULT current_timestamp(),
`created_by` int(11) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_by` int(11) DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
Comments
Post a Comment
Comment your offer ...