Skip to content

Commit

Permalink
db: add the status column to the subscriptions table
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsavio committed Apr 3, 2024
1 parent fc68c93 commit 21b8283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ is_db_running:
docker compose ps | grep -q 'Up'

## Run the database migrations
migrate:
migrate: db-start
sqlx database create
sqlx migrate run

Expand Down
2 changes: 2 additions & 0 deletions migrations/20240403105506_add_status_to_subscriptions.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Add migration script here
ALTER TABLE subscriptions ADD COLUMN status TEXT NULL;

0 comments on commit 21b8283

Please sign in to comment.