mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-04 04:59:58 +08:00
9 lines
505 B
MySQL
9 lines
505 B
MySQL
|
CREATE TABLE IF NOT EXISTS `goploy`.`project_file` (
|
||
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||
|
`project_id` int(10) unsigned NOT NULL,
|
||
|
`filename` varchar(255) NOT NULL DEFAULT '',
|
||
|
`insert_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||
|
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||
|
PRIMARY KEY (`id`) USING BTREE,
|
||
|
KEY `project_id` (`project_id`) USING BTREE
|
||
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|