Skip to content

Commit 43d2ee9

Browse files
committed
chore: regenerate migration file by atlas
1 parent 521976a commit 43d2ee9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ent/migrate/migrations/20250215135939_create_posting.sql

-4
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- Create "postings" table
2+
CREATE TABLE "postings" ("id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY, "create_time" timestamptz NOT NULL, "update_time" timestamptz NOT NULL, "title" character varying NOT NULL, "url" character varying NOT NULL, "published_at" timestamptz NOT NULL, "tags" text[] NULL, "company_postings" bigint NULL, PRIMARY KEY ("id"), CONSTRAINT "postings_companies_postings" FOREIGN KEY ("company_postings") REFERENCES "companies" ("id") ON UPDATE NO ACTION ON DELETE SET NULL);
3+
-- Create index "postings_url_key" to table: "postings"
4+
CREATE UNIQUE INDEX "postings_url_key" ON "postings" ("url");

ent/migrate/migrations/atlas.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
h1:h455WQyMRJnQV+jKLUeCAv2dNBQ8Nc9Bp4P1w+JZ7Qc=
1+
h1:bjZTs6dWWzQuay+XzFnQhkrKLW1EWt1dIV4fWDFkQEg=
22
20250118142329_create_company.sql h1:HDbigYfm6G4w1+Kzgwl+rMabQjLnctFRgIdyKGRxsKc=
33
20250202031149_create-tag.sql h1:0hc8Co99P4bEvB9KZT3OUZflUCnjScW+UdrTR/WC0vA=
4-
20250215135939_create_posting.sql h1:hTh6qFzC24ZPJURyGBaHI8lzi60FYMarYpZUN5yV2tg=
4+
20250216095000_create_posting.sql h1:3LYyiwyagI8dYXnCOABB51IXXbXZwezGr16iy8I8qZY=

0 commit comments

Comments
 (0)