Skip to content

Commit

Permalink
add default value and migration
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jan 16, 2025
1 parent 7b15654 commit f7cc2b5
Show file tree
Hide file tree
Showing 4 changed files with 683 additions and 3 deletions.
2 changes: 2 additions & 0 deletions backend/src/services/db/migrations/0001_colorful_zaran.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `submissions` ADD `curator_id` text DEFAULT 'system' NOT NULL;--> statement-breakpoint
ALTER TABLE `submissions` ADD `curator_username` text DEFAULT 'system' NOT NULL;
Loading

0 comments on commit f7cc2b5

Please sign in to comment.