add official exercises to the database

This commit is contained in:
2024-12-10 14:47:48 -08:00
parent 58b9923eb9
commit ef722fe0d8

View File

@@ -0,0 +1,7 @@
-- Add migration script here
ALTER TABLE exercises
ADD COLUMN official BOOLEAN NOT NULL DEFAULT FALSE,
ADD COLUMN author_id UUID REFERENCES users(id),
ADD COLUMN description TEXT,
ADD COLUMN created_at TIMESTAMP NOT NULL DEFAULT NOW();