up.sql 247 B

1234567891011121314
  1. -- 表:sent_sim
  2. CREATE TABLE sent_sim
  3. (
  4. id SERIAL PRIMARY KEY,
  5. sent1 INTEGER,
  6. sent2 INTEGER,
  7. sim REAL,
  8. created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
  9. );
  10. -- 索引:sent
  11. CREATE INDEX sent_sim_sent1 ON sent_sim (sent1);