netmash/infrastructure/Netmash.Infrastructure.Data.../Scripts/Sqlite/02.MigratedVersionTable.sql

7 lines
292 B
SQL

CREATE TABLE "MigratedVersion" (
"Id" INTEGER NOT NULL,
"SignatureId" INTEGER,
"Version" TEXT NOT NULL,
CONSTRAINT "PK_MigratedVersion" PRIMARY KEY("Id" AUTOINCREMENT),
CONSTRAINT "FK_MigratedVersion_MigrationSignature" FOREIGN KEY("SignatureId") REFERENCES "MigrationSignature"("Id")
);