use explicit order for insert operations

This prevents a problem from different column orders in database tables.
In particular, this occurred with the user_packets table, where the `rank` column moved up in order.
This commit is contained in:
Vincent Breitmoser
2018-07-14 13:02:12 +02:00
parent a69eaab0ea
commit e3e5f7feec
6 changed files with 11 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS key_signatures (
);
insertKeySignature:
INSERT INTO key_signatures VALUES (?, ?);
INSERT INTO key_signatures (master_key_id, signer_key_id) VALUES (?, ?);
selectMasterKeyIdsBySigner:
SELECT master_key_id