Skip to content

Commit

Permalink
db(add columns): created_at and updated_at
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePresman committed Jun 3, 2024
1 parent 1003675 commit adabbd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions migrations/000007_add_date_columns_to_objects.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE dl.objects DROP COLUMN created_at;
1 change: 1 addition & 0 deletions migrations/000007_add_date_columns_to_objects.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE dl.objects ADD COLUMN created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL;

0 comments on commit adabbd1

Please sign in to comment.