add infraserver table
This commit is contained in:
parent
80bcc8821f
commit
0d938a2389
|
@ -46,8 +46,12 @@ CREATE TABLE Zone (
|
||||||
SitesName VARCHAR(255) [] NOT NULL
|
SitesName VARCHAR(255) [] NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
-------------------------------------
|
||||||
|
-- Infra
|
||||||
|
-------------------------------------
|
||||||
|
|
||||||
-- Server
|
-- Server
|
||||||
CREATE TABLE Server (
|
CREATE TABLE InfraServer(
|
||||||
ServerId SERIAL PRIMARY KEY,
|
ServerId SERIAL PRIMARY KEY,
|
||||||
ServerName VARCHAR(255) NOT NULL UNIQUE,
|
ServerName VARCHAR(255) NOT NULL UNIQUE,
|
||||||
ServerDescription VARCHAR(255) NOT NULL,
|
ServerDescription VARCHAR(255) NOT NULL,
|
||||||
|
@ -75,6 +79,18 @@ CREATE TABLE Release (
|
||||||
FOREIGN KEY (ReleaseSourceId) REFERENCES Source(SourceId)
|
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
|
-- Servermodel
|
||||||
CREATE TABLE Servermodel (
|
CREATE TABLE Servermodel (
|
||||||
ServermodelId SERIAL PRIMARY KEY,
|
ServermodelId SERIAL PRIMARY KEY,
|
||||||
|
|
Loading…
Reference in New Issue