Skip to content

Commit

Permalink
added schema migration for premium slots
Browse files Browse the repository at this point in the history
ashishjh-bst committed Jan 10, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 7f88ecd commit 3d3e567
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions premium/schema.go
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ CREATE TABLE IF NOT EXISTS premium_slots (
`, `
ALTER TABLE premium_slots ADD COLUMN IF NOT EXISTS tier INT NOT NULL DEFAULT 1;
`, `
ALTER TABLE premium_slots ADD COLUMN IF NOT EXISTS deletes_at TIMESTAMP WITH TIME ZONE;
`, `
CREATE TABLE IF NOT EXISTS premium_codes (
id BIGSERIAL PRIMARY KEY,

0 comments on commit 3d3e567

Please sign in to comment.