diff --git a/backend/migrations/20240515115413_add_underscore_to_proper_email_constraints.down.sql b/backend/migrations/20240515115413_add_underscore_to_proper_email_constraints.down.sql new file mode 100644 index 0000000000..d2f607c5b8 --- /dev/null +++ b/backend/migrations/20240515115413_add_underscore_to_proper_email_constraints.down.sql @@ -0,0 +1 @@ +-- Add down migration script here diff --git a/backend/migrations/20240515115413_add_underscore_to_proper_email_constraints.up.sql b/backend/migrations/20240515115413_add_underscore_to_proper_email_constraints.up.sql new file mode 100644 index 0000000000..66462d1faf --- /dev/null +++ b/backend/migrations/20240515115413_add_underscore_to_proper_email_constraints.up.sql @@ -0,0 +1,3 @@ +-- Add up migration script here +ALTER TABLE usr DROP CONSTRAINT proper_email; +ALTER TABLE workspace_invite DROP CONSTRAINT proper_email; \ No newline at end of file