mirror of
https://dev.azure.com/tstanciu94/Connectors/_git/ProxmoxConnector
synced 2025-06-21 19:22:55 +03:00
AuthenticationType table
This commit is contained in:
parent
de38dd0c9c
commit
6cd36697b6
@ -9,7 +9,10 @@
|
||||
</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>
|
||||
</None>
|
||||
</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…
x
Reference in New Issue
Block a user