Skip to content

Commit

Permalink
trailing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
DrVilepis committed May 28, 2024
1 parent 3d2e127 commit 5b0dcf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migrations/2024-03-12-174132_serverside_hidden/down.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- This file should undo anything in `up.sql`
ALTER TABLE "coding_activities" DROP COLUMN "hidden";
ALTER TABLE "coding_activities" DROP COLUMN "hidden";
2 changes: 1 addition & 1 deletion migrations/2024-03-12-174132_serverside_hidden/up.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Your SQL goes here
ALTER TABLE "coding_activities" ADD COLUMN "hidden" BOOL;
UPDATE "coding_activities" SET "hidden" = false WHERE hidden IS NULL;
ALTER TABLE "coding_activities" ALTER COLUMN hidden SET NOT NULL;
ALTER TABLE "coding_activities" ALTER COLUMN hidden SET NOT NULL;

0 comments on commit 5b0dcf5

Please sign in to comment.