CREATE TABLE StorageRecords (
context varchar(255) NOT NULL,
id varchar(255) NOT NULL,
expires bigint DEFAULT NULL,
value text NOT NULL,
version bigint NOT NULL,
PRIMARY KEY (context, id)
);
...
Expand
title
Oracle
Code Block
CREATE TABLE StorageRecords(
context varchar2(255) NOT NULL,
id varchar2(255) NOT NULL,
expires number(19,0),
value clob NOT NULL,
version number(19,0) NOT NULL,
PRIMARY KEY (context, id)
);
Expand
title
IBM DB2
Code Block
CREATE TABLE StorageRecords (
context varchar(255) NOT NULL,
id varchar(255) NOT NULL,
expires bigint DEFAULT NULL,
value clob NOT NULL,
version bigint NOT NULL,
PRIMARY KEY (context, id)
);