|
|
@ -161,11 +161,13 @@ CREATE INDEX IF NOT EXISTS REG_RESOURCE_TAG_IND_BY_VERSION ON REG_RESOURCE_TAG(R
|
|
|
|
CREATE TABLE IF NOT EXISTS REG_PROPERTY (
|
|
|
|
CREATE TABLE IF NOT EXISTS REG_PROPERTY (
|
|
|
|
REG_ID INTEGER NOT NULL AUTO_INCREMENT,
|
|
|
|
REG_ID INTEGER NOT NULL AUTO_INCREMENT,
|
|
|
|
REG_NAME VARCHAR(100) NOT NULL,
|
|
|
|
REG_NAME VARCHAR(100) NOT NULL,
|
|
|
|
REG_VALUE VARCHAR(10000),
|
|
|
|
REG_VALUE VARCHAR(1000),
|
|
|
|
REG_TENANT_ID INTEGER DEFAULT 0,
|
|
|
|
REG_TENANT_ID INTEGER DEFAULT 0,
|
|
|
|
CONSTRAINT PK_REG_PROPERTY PRIMARY KEY(REG_ID, REG_TENANT_ID)
|
|
|
|
CONSTRAINT PK_REG_PROPERTY PRIMARY KEY(REG_ID, REG_TENANT_ID)
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALTER TABLE REG_PROPERTY ALTER COLUMN REG_VALUE varchar(10000);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS REG_RESOURCE_PROPERTY (
|
|
|
|
CREATE TABLE IF NOT EXISTS REG_RESOURCE_PROPERTY (
|
|
|
|
REG_PROPERTY_ID INTEGER NOT NULL,
|
|
|
|
REG_PROPERTY_ID INTEGER NOT NULL,
|
|
|
|
REG_VERSION INTEGER,
|
|
|
|
REG_VERSION INTEGER,
|
|
|
|