sql.migration.V20151105010136__CreateUserSequence.sql Maven / Gradle / Ivy
CREATE TABLE user_sequence(
user_id INT NOT NULL,
seq INT NOT NULL,
timestamp BIGINT NOT NULL,
mapping BYTEA NOT NULL,
PRIMARY KEY (user_id, seq)
);
CREATE TABLE user_sequence(
user_id INT NOT NULL,
seq INT NOT NULL,
timestamp BIGINT NOT NULL,
mapping BYTEA NOT NULL,
PRIMARY KEY (user_id, seq)
);