Skip to content

Commit

Permalink
Update db/structure.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcoux committed Nov 5, 2018
1 parent cf47c45 commit f39168d
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/api/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -970,10 +970,12 @@ CREATE TABLE `projects` (
`kind` enum('standard','maintenance','maintenance_incident','maintenance_release') CHARACTER SET utf8 COLLATE utf8_bin DEFAULT 'standard',
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`required_checks` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`staging_workflow_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `projects_name_index` (`name`) USING BTREE,
KEY `updated_at_index` (`updated_at`) USING BTREE,
KEY `devel_project_id_index` (`develproject_id`) USING BTREE
KEY `devel_project_id_index` (`develproject_id`) USING BTREE,
KEY `index_projects_on_staging_workflow_id` (`staging_workflow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

CREATE TABLE `ratings` (
Expand Down Expand Up @@ -1139,6 +1141,15 @@ CREATE TABLE `sessions` (
KEY `index_sessions_on_updated_at` (`updated_at`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

CREATE TABLE `staging_workflows` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`project_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `index_staging_workflows_on_project_id` (`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE `static_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(200) CHARACTER SET utf8 NOT NULL DEFAULT '',
Expand Down Expand Up @@ -1408,6 +1419,8 @@ INSERT INTO `schema_migrations` (version) VALUES
('20180906142702'),
('20180906142802'),
('20180911123709'),
('20180924135535');
('20180924135535'),
('20181008150453'),
('20181016103905');


0 comments on commit f39168d

Please sign in to comment.