AuthenticationType table
parent
de38dd0c9c
commit
6cd36697b6
|
@ -9,7 +9,10 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Update="Scripts\1.0.0\01.Create table PveVersion.sql">
|
<None Update="Scripts\1.0.0\02.Create AuthenticationType table.sql">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Update="Scripts\1.0.0\01.Create PveVersion table.sql">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
CREATE TABLE AuthenticationType (
|
||||||
|
"Id" INTEGER NOT NULL,
|
||||||
|
"Code" TEXT NOT NULL UNIQUE,
|
||||||
|
"Name" TEXT NOT NULL,
|
||||||
|
CONSTRAINT "PK_AuthenticationType" PRIMARY KEY("Id" AUTOINCREMENT)
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO AuthenticationType(Id, Code, Name)
|
||||||
|
SELECT 1, 'CREDENTIALS', 'Credentials' UNION
|
||||||
|
SELECT 2, 'API_TOKEN', 'Api token'
|
Loading…
Reference in New Issue