Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Run atlas migrate diff --env local again
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Jul 30, 2024
1 parent 202f6b6 commit cd0f1ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions migrations/20240730163630.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- Rename an index from "posts_user_id_key" to "posts_user_id_idx"
ALTER INDEX "posts_user_id_key" RENAME TO "posts_user_id_idx";
-- Modify "users" table
ALTER TABLE "app"."users" DROP CONSTRAINT "users_email_key";
-- Create index "users_email_idx" to table: "users"
CREATE INDEX "users_email_idx" ON "app"."users" ("email");
3 changes: 2 additions & 1 deletion migrations/atlas.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
h1:J0soLVPVa1IYLQEPWmUxLRjvKKUIjaFXuoAUFEn79xY=
h1:DnMLG9BSDyEdygG3xTk1fByLgvFcLqjeAEPMEs3Z0T4=
20240730163237.sql h1:87X9yZlFf+WKLXkMgTzCRiBi21ftDhc8NBc7M4w+GVA=
20240730163630.sql h1:0ZmCtxtrNnA1yjOEQjAjpyAZQRUqXKX29zYSpBPjmXc=

0 comments on commit cd0f1ac

Please sign in to comment.