Skip to content

Commit

Permalink
Fix primary keys for task
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Jun 21, 2024
1 parent 9b10361 commit 1db1ce0
Show file tree
Hide file tree
Showing 7 changed files with 227 additions and 3,529 deletions.
11 changes: 7 additions & 4 deletions api/migrations/0047_sticky_morbius.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
CREATE TABLE IF NOT EXISTS "tasks" (
"prefix" text PRIMARY KEY NOT NULL,
"name" text NOT NULL,
"repo" text,
"readme" text
"id" serial PRIMARY KEY,
"prefix" text NOT NULL,
"created" timestamp with time zone DEFAULT Now() NOT NULL,
"updated" timestamp with time zone DEFAULT Now() NOT NULL,
"name" text NOT NULL,
"repo" text,
"readme" text
);
2 changes: 0 additions & 2 deletions api/migrations/0048_abandoned_fat_cobra.sql

This file was deleted.

18 changes: 0 additions & 18 deletions api/migrations/0049_parched_mandarin.sql

This file was deleted.

Loading

0 comments on commit 1db1ce0

Please sign in to comment.