up.sql 255 B

1234567891011
  1. -- 表:sent_sim_index
  2. CREATE TABLE sent_sim_indexs
  3. (
  4. id SERIAL PRIMARY KEY,
  5. sent_id INTEGER,
  6. count INTEGER,
  7. created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
  8. );
  9. CREATE UNIQUE INDEX sent_sim_indexs_sent_id ON sent_sim_indexs (sent_id);