Don't use different types for SQLite in DB schema

This commit is contained in:
Tulir Asokan
2020-05-21 20:56:41 +03:00
parent 64af0209b7
commit ed978bcb9c
5 changed files with 14 additions and 19 deletions

View File

@ -6,7 +6,6 @@ import (
func init() {
upgrades[13] = upgrade{"Add crypto store to database", func(tx *sql.Tx, ctx context) error {
// TODO use DATETIME instead of timestamp and BLOB instead of bytea for sqlite
_, err := tx.Exec(`CREATE TABLE crypto_account (
device_id VARCHAR(255) PRIMARY KEY,
shared BOOLEAN NOT NULL,