54 lines
2.6 KiB
Plaintext
54 lines
2.6 KiB
Plaintext
SET DATABASE UNIQUE NAME HSQLDB744C4F0507
|
|
SET DATABASE GC 0
|
|
SET DATABASE DEFAULT RESULT MEMORY ROWS 0
|
|
SET DATABASE EVENT LOG LEVEL 0
|
|
SET DATABASE TRANSACTION CONTROL LOCKS
|
|
SET DATABASE DEFAULT ISOLATION LEVEL READ COMMITTED
|
|
SET DATABASE TRANSACTION ROLLBACK ON CONFLICT TRUE
|
|
SET DATABASE TEXT TABLE DEFAULTS ''
|
|
SET DATABASE SQL NAMES FALSE
|
|
SET DATABASE SQL REFERENCES FALSE
|
|
SET DATABASE SQL SIZE TRUE
|
|
SET DATABASE SQL TYPES FALSE
|
|
SET DATABASE SQL TDC DELETE TRUE
|
|
SET DATABASE SQL TDC UPDATE TRUE
|
|
SET DATABASE SQL TRANSLATE TTI TYPES TRUE
|
|
SET DATABASE SQL CONCAT NULLS TRUE
|
|
SET DATABASE SQL UNIQUE NULLS TRUE
|
|
SET DATABASE SQL CONVERT TRUNCATE TRUE
|
|
SET DATABASE SQL AVG SCALE 0
|
|
SET DATABASE SQL DOUBLE NAN TRUE
|
|
SET FILES WRITE DELAY 3
|
|
SET FILES BACKUP INCREMENT FALSE
|
|
SET FILES CACHE SIZE 50000
|
|
SET FILES CACHE ROWS 100000
|
|
SET FILES SCALE 32
|
|
SET FILES LOB SCALE 32
|
|
SET FILES DEFRAG 0
|
|
SET FILES NIO TRUE
|
|
SET FILES NIO SIZE 512
|
|
SET FILES LOG FALSE
|
|
SET FILES LOG SIZE 50
|
|
CREATE USER SA PASSWORD DIGEST 'd41d8cd98f00b204e9800998ecf8427e'
|
|
ALTER USER SA SET LOCAL TRUE
|
|
CREATE SCHEMA PUBLIC AUTHORIZATION DBA
|
|
SET SCHEMA PUBLIC
|
|
CREATE CACHED TABLE PUBLIC.PROVIDER(ID INTEGER PRIMARY KEY,NAME VARCHAR(200),UNIQUE(NAME))
|
|
CREATE CACHED TABLE PUBLIC.INDEXED_BUILD(PROVIDER_ID INTEGER,BUILD_ID BIGINT,UNIQUE(PROVIDER_ID,BUILD_ID))
|
|
CREATE CACHED TABLE PUBLIC.ENTRY_KEY(ID INTEGER PRIMARY KEY,PROVIDER_ID INTEGER,BUILD_ID BIGINT,DATA_KEY VARCHAR(256),UNIQUE(PROVIDER_ID,BUILD_ID,DATA_KEY))
|
|
CREATE CACHED TABLE PUBLIC.ENTRY_DATA(ENTRY_ID INTEGER,DATA_KEY VARCHAR(256),DATA_VALUE VARCHAR(1024) COLLATE SQL_TEXT_UCC,UNIQUE(ENTRY_ID,DATA_KEY))
|
|
CREATE INDEX ENTRY_DATA_DATA_KEY ON PUBLIC.ENTRY_DATA(DATA_KEY)
|
|
CREATE CACHED TABLE PUBLIC.ENTRY_DATA_KEY(PROVIDER_ID INTEGER NOT NULL,DATA_KEY VARCHAR(256) COLLATE SQL_TEXT_UCC NOT NULL,DATA_VALUE_INDEX INTEGER NOT NULL,UNIQUE(PROVIDER_ID,DATA_KEY))
|
|
CREATE CACHED TABLE PUBLIC.ENTRY(ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,PROVIDER_ID INTEGER NOT NULL,BUILD_ID BIGINT NOT NULL,ENTRY_KEY VARCHAR(256) NOT NULL,DATA_VALUES VARCHAR(1024) ARRAY NOT NULL,UNIQUE(PROVIDER_ID,BUILD_ID,ENTRY_KEY))
|
|
ALTER TABLE PUBLIC.ENTRY ALTER COLUMN ID RESTART WITH 1
|
|
ALTER SEQUENCE SYSTEM_LOBS.LOB_ID RESTART WITH 1
|
|
SET DATABASE DEFAULT INITIAL SCHEMA PUBLIC
|
|
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.SQL_IDENTIFIER TO PUBLIC
|
|
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.YES_OR_NO TO PUBLIC
|
|
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.TIME_STAMP TO PUBLIC
|
|
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CARDINAL_NUMBER TO PUBLIC
|
|
GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CHARACTER_DATA TO PUBLIC
|
|
GRANT DBA TO SA
|
|
SET SCHEMA SYSTEM_LOBS
|
|
INSERT INTO BLOCKS VALUES(0,2147483647,0)
|