-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
moped-database/migrations/1709753345334_audit_fields_proj_files/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ALTER TABLE moped_proj_files RENAME COLUMN created_at TO create_date; | ||
ALTER TABLE moped_proj_files RENAME COLUMN created_by_user_id TO created_by; | ||
ALTER TABLE moped_proj_files DROP COLUMN updated_at; | ||
ALTER TABLE moped_proj_files DROP COLUMN updated_by_user_id; | ||
ALTER TABLE moped_project_files RENAME COLUMN created_at TO create_date; | ||
ALTER TABLE moped_project_files RENAME COLUMN created_by_user_id TO created_by; | ||
ALTER TABLE moped_project_files DROP COLUMN updated_at; | ||
ALTER TABLE moped_project_files DROP COLUMN updated_by_user_id; | ||
|
||
DROP TRIGGER update_moped_proj_files_and_project_audit_fields ON moped_proj_files; | ||
DROP TRIGGER update_moped_project_files_and_project_audit_fields ON moped_project_files; |