status-go/appdatabase/migrations/sql/1662447680_add_keypairs_table.up.sql
Stefan 5b0d8a7c4e fix: workaround for wrong renaming of migration file for keypairs table
Restore the old, previously renamed, 1662447680_add_keypairs_table.up.sql
file while keeping the current one for those who already migrated to the
new one. The extra migration is noop and saves to keep consistency in
the user data states history.
2022-09-16 12:52:01 +02:00

7 lines
218 B
SQL

CREATE TABLE IF NOT EXISTS keypairs (
keycard_uid VARCHAR NOT NULL,
keycard_name VARCHAR NOT NULL,
keycard_locked BOOLEAN DEFAULT FALSE,
account_address VARCHAR NOT NULL,
key_uid VARCHAR NOT NULL
);