13 lines
424 B
MySQL
13 lines
424 B
MySQL
|
DROP TABLE DUAL_HIBERNATE_SEQUENCE IF EXISTS
|
||
|
DROP TABLE ROOMS IF EXISTS
|
||
|
DROP TABLE SEQUENCE IF EXISTS
|
||
|
|
||
|
|
||
|
CREATE MEMORY TABLE SEQUENCE(SEQ_NAME VARCHAR(50) NOT NULL PRIMARY KEY,SEQ_COUNT NUMERIC(38))
|
||
|
CREATE MEMORY TABLE ROOMS(ID INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,NAME VARCHAR(255))
|
||
|
CREATE MEMORY TABLE DUAL_HIBERNATE_SEQUENCE(ZERO INTEGER)
|
||
|
INSERT INTO SEQUENCE VALUES('SEQ_GEN',0)
|
||
|
|
||
|
|
||
|
|