Skip to content

Commit

Permalink
wrong table name in down migration
Browse files Browse the repository at this point in the history
  • Loading branch information
chiaberry committed Mar 7, 2024
1 parent 24c612b commit 1d356d9
Showing 1 changed file with 5 additions and 5 deletions.
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;

0 comments on commit 1d356d9

Please sign in to comment.