first sql script - pve version
parent
abd5db530e
commit
747948b8bb
|
@ -8,4 +8,10 @@
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(EntityFrameworkCoreSqlitePackageVersion)" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(EntityFrameworkCoreSqlitePackageVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Update="Scripts\1.0.0\01.Create table PveVersion.sql">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -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'
|
Loading…
Reference in New Issue