Add added_date column to songs table #100
All checks were successful
All checks were successful
This commit is contained in:
parent
3cfcacc9ba
commit
53805d8793
2
migrations/2024-10-23/down.sql
Normal file
2
migrations/2024-10-23/down.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE songs
|
||||||
|
DROP COLUMN added_date;
|
2
migrations/2024-10-23/up.sql
Normal file
2
migrations/2024-10-23/up.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE songs
|
||||||
|
ADD COLUMN added_date DATE DEFAULT CURRENT_DATE;
|
Loading…
x
Reference in New Issue
Block a user