SQL
CREATE TABLE `action_schedule_spec` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
`repo_id` INTEGER NULL,
`schedule_id` INTEGER NULL,
`next` INTEGER NULL,
`prev` INTEGER NULL,
`spec` TEXT NULL,
`created` INTEGER NULL,
`updated` INTEGER NULL
)
+ Add column
Columns
+ Add index
Indexes
| Name |
Columns |
Unique |
SQL |
Drop? |
| IDX_action_schedule_spec_next |
next
|
|
SQL
CREATE INDEX `IDX_action_schedule_spec_next`
ON `action_schedule_spec` (`next`)
|
Drop
|
| IDX_action_schedule_spec_repo_id |
repo_id
|
|
SQL
CREATE INDEX `IDX_action_schedule_spec_repo_id`
ON `action_schedule_spec` (`repo_id`)
|
Drop
|
| IDX_action_schedule_spec_schedule_id |
schedule_id
|
|
SQL
CREATE INDEX `IDX_action_schedule_spec_schedule_id`
ON `action_schedule_spec` (`schedule_id`)
|
Drop
|