fuzzysearch/migrations/20210221025835_weasyl.up.sql
2021-02-20 22:48:03 -05:00

10 lines
160 B
SQL

CREATE TABLE weasyl (
id INTEGER PRIMARY KEY,
hash BIGINT,
data JSONB,
sha256 BYTEA,
file_size INTEGER
);
CREATE INDEX ON weasyl (sha256);