diff --git a/src/server/ProxmoxConnector.Server.Domain.Data/ProxmoxConnector.Server.Domain.Data.csproj b/src/server/ProxmoxConnector.Server.Domain.Data/ProxmoxConnector.Server.Domain.Data.csproj index 796315c..91cde75 100644 --- a/src/server/ProxmoxConnector.Server.Domain.Data/ProxmoxConnector.Server.Domain.Data.csproj +++ b/src/server/ProxmoxConnector.Server.Domain.Data/ProxmoxConnector.Server.Domain.Data.csproj @@ -8,4 +8,10 @@ + + + PreserveNewest + + + diff --git a/src/server/ProxmoxConnector.Server.Domain.Data/Scripts/1.0.0/01.Create table PveVersion.sql b/src/server/ProxmoxConnector.Server.Domain.Data/Scripts/1.0.0/01.Create table PveVersion.sql new file mode 100644 index 0000000..cd93763 --- /dev/null +++ b/src/server/ProxmoxConnector.Server.Domain.Data/Scripts/1.0.0/01.Create table PveVersion.sql @@ -0,0 +1,9 @@ +CREATE TABLE "PveVersion" ( + "Id" INTEGER NOT NULL, + "Version" TEXT NOT NULL UNIQUE, + CONSTRAINT "PK_PveVersion" PRIMARY KEY("Id" AUTOINCREMENT) +); + +INSERT INTO PveVersion(Id, Version) +SELECT 1, '6.3' UNION +SELECT 2, '6.4' \ No newline at end of file