2
0
mirror of https://github.com/status-im/status-go.git synced 2025-01-11 15:14:52 +00:00
status-go/walletdatabase/migrations/sql/1694540071_add_collectibles_ownership_update_timestamp.up.sql

8 lines
349 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS collectibles_ownership_update_timestamps (
owner_address VARCHAR NOT NULL,
chain_id UNSIGNED BIGINT NOT NULL,
timestamp UNSIGNED BIGINT NOT NULL
);
CREATE UNIQUE INDEX IF NOT EXISTS collectibles_ownership_update_timestamps_identify_entry ON collectibles_ownership_update_timestamps (owner_address, chain_id);