chore: squash migrations
This commit is contained in:
@@ -46,6 +46,7 @@ create table if not exists useragent_client (
|
||||
id integer not null primary key,
|
||||
nonce integer not null default(1), -- used for auth challenge
|
||||
public_key blob not null,
|
||||
key_type integer not null default(1), -- 1=Ed25519, 2=ECDSA(secp256k1)
|
||||
created_at integer not null default(unixepoch ('now')),
|
||||
updated_at integer not null default(unixepoch ('now'))
|
||||
) STRICT;
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
-- Not reversible without data loss; drop the column to revert
|
||||
ALTER TABLE useragent_client DROP COLUMN key_type;
|
||||
@@ -1 +0,0 @@
|
||||
ALTER TABLE useragent_client ADD COLUMN key_type INTEGER NOT NULL DEFAULT 1;
|
||||
Reference in New Issue
Block a user