add infraserver table
This commit is contained in:
parent
2dce20e691
commit
1873722043
|
@ -46,8 +46,12 @@ CREATE TABLE Zone (
|
|||
SitesName VARCHAR(255) [] NOT NULL
|
||||
);
|
||||
|
||||
-------------------------------------
|
||||
-- Infra
|
||||
-------------------------------------
|
||||
|
||||
-- Server
|
||||
CREATE TABLE Server (
|
||||
CREATE TABLE InfraServer(
|
||||
ServerId SERIAL PRIMARY KEY,
|
||||
ServerName VARCHAR(255) NOT NULL UNIQUE,
|
||||
ServerDescription VARCHAR(255) NOT NULL,
|
||||
|
@ -75,6 +79,18 @@ CREATE TABLE Release (
|
|||
FOREIGN KEY (ReleaseSourceId) REFERENCES Source(SourceId)
|
||||
);
|
||||
|
||||
-------------------------------------
|
||||
-- Setting
|
||||
-------------------------------------
|
||||
|
||||
-- SettingServer
|
||||
CREATE TABLE SettingServer(
|
||||
ServerId SERIAL PRIMARY KEY,
|
||||
ServerName VARCHAR(255) NOT NULL UNIQUE,
|
||||
ServermodelName VARCHAR(255) NOT NULL,
|
||||
ReleaseDistribution VARCHAR(255) NOT NULL
|
||||
);
|
||||
|
||||
-- Servermodel
|
||||
CREATE TABLE Servermodel (
|
||||
ServermodelId SERIAL PRIMARY KEY,
|
||||
|
|
Loading…
Reference in New Issue