CREATE TABLE splits ( split_id VARCHAR(50) PRIMARY KEY, split_state VARCHAR(30) NOT NULL, start_time_range BIGINT, end_time_range BIGINT, tags TEXT[] NOT NULL, split_metadata_json TEXT NOT NULL, index_id VARCHAR(50) NOT NULL, FOREIGN KEY(index_id) REFERENCES indexes(index_id) );