diff --git a/migrations/20240730163630.sql b/migrations/20240730163630.sql new file mode 100644 index 0000000..38bc995 --- /dev/null +++ b/migrations/20240730163630.sql @@ -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"); diff --git a/migrations/atlas.sum b/migrations/atlas.sum index 7acf58d..192fa28 100644 --- a/migrations/atlas.sum +++ b/migrations/atlas.sum @@ -1,2 +1,3 @@ -h1:J0soLVPVa1IYLQEPWmUxLRjvKKUIjaFXuoAUFEn79xY= +h1:DnMLG9BSDyEdygG3xTk1fByLgvFcLqjeAEPMEs3Z0T4= 20240730163237.sql h1:87X9yZlFf+WKLXkMgTzCRiBi21ftDhc8NBc7M4w+GVA= +20240730163630.sql h1:0ZmCtxtrNnA1yjOEQjAjpyAZQRUqXKX29zYSpBPjmXc=