Remove default value for ADAM_ID

vpp^2
amanda 5 years ago
parent 3ca5ca5a6e
commit a73ec67485

@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS AP_APP(
CURRENCY VARCHAR(45) NULL DEFAULT '$',
RATING DOUBLE NULL DEFAULT NULL,
DEVICE_TYPE_ID INTEGER NOT NULL,
ADAM_ID VARCHAR(45) NULL DEFAULT '0' UNIQUE ,
ADAM_ID VARCHAR(45) NULL UNIQUE ,
PRIMARY KEY (ID)
);

@ -12,7 +12,7 @@ CREATE TABLE AP_APP(
CURRENCY VARCHAR(45) NULL DEFAULT '$',
RATING FLOAT NULL DEFAULT NULL,
DEVICE_TYPE_ID INTEGER NOT NULL,
ADAM_ID VARCHAR(45) NULL DEFAULT '0' ,
ADAM_ID VARCHAR(45) NULL ,
CONSTRAINT ADAM_ID_CONSTRAINT UNIQUE (ADAM_ID),
PRIMARY KEY (ID)
);

@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS AP_APP(
CURRENCY VARCHAR(45) NULL DEFAULT '$',
RATING DOUBLE NULL DEFAULT NULL,
DEVICE_TYPE_ID INTEGER NOT NULL,
ADAM_ID VARCHAR(45) NULL DEFAULT '0' UNIQUE ,
ADAM_ID VARCHAR(45) NULL UNIQUE ,
PRIMARY KEY (ID)
);

@ -228,7 +228,7 @@ INSERT INTO APPM_LC_STATE_TRANSITION(INITIAL_STATE, NEXT_STATE, PERMISSION, DESC
CREATE TABLE APPM_APPLICATION (
ID INT UNIQUE,
UUID VARCHAR(100) NOT NULL,
ADAM_ID VARCHAR(100) DEFAULT '0',
ADAM_ID VARCHAR(100) NULL,
IDENTIFIER VARCHAR(255) NULL,
NAME VARCHAR(100) NOT NULL,
SHORT_DESCRIPTION VARCHAR(255) NULL,

@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS AP_APP(
CURRENCY VARCHAR(45) NULL DEFAULT '$',
RATING DOUBLE PRECISION NULL DEFAULT NULL,
DEVICE_TYPE_ID INTEGER NOT NULL,
ADAM_ID VARCHAR(45) NULL DEFAULT '0' UNIQUE,
ADAM_ID VARCHAR(45) NULL UNIQUE,
PRIMARY KEY (ID)
);

Loading…
Cancel
Save