Skip to content

Commit

Permalink
refactor: delete of XXX_FETCHED
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kakuko authored Oct 9, 2024
1 parent 2111181 commit ced577b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/schema/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CREATE TABLE `tasks` (
`simulation_opt` text COLLATE utf8mb4_unicode_ci,
`ro_error_mitigation` enum('none','pseudo_inverse','least_square') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`note` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` enum('QUEUED','QUEUED_FETCHED','RUNNING','COMPLETED','FAILED','CANCELLING','CANCELLING_FETCHED','CANCELLED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'QUEUED',
`status` enum('QUEUED','RUNNING','COMPLETED','FAILED','CANCELLING','CANCELLED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'QUEUED',
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `device` (`device`),
Expand Down Expand Up @@ -59,7 +59,7 @@ CREATE TABLE `tasks` (
| simulation_opt | text | | true | | | | |
| ro_error_mitigation | enum('none','pseudo_inverse','least_square') | | true | | | | |
| note | varchar(1024) | | true | | | | |
| status | enum('QUEUED','QUEUED_FETCHED','RUNNING','COMPLETED','FAILED','CANCELLING','CANCELLING_FETCHED','CANCELLED') | QUEUED | false | | | | |
| status | enum('QUEUED','RUNNING','COMPLETED','FAILED','CANCELLING','CANCELLED') | QUEUED | false | | | | |
| created_at | timestamp | CURRENT_TIMESTAMP | true | DEFAULT_GENERATED | | | |

## Constraints
Expand Down Expand Up @@ -104,7 +104,7 @@ erDiagram
text simulation_opt
enum__none___pseudo_inverse___least_square__ ro_error_mitigation
varchar_1024_ note
enum__QUEUED___QUEUED_FETCHED___RUNNING___COMPLETED___FAILED___CANCELLING___CANCELLING_FETCHED___CANCELLED__ status
enum__QUEUED___RUNNING___COMPLETED___FAILED___CANCELLING___CANCELLED__ status
timestamp created_at
}
"results" {
Expand Down

0 comments on commit ced577b

Please sign in to comment.