Use boolean in sql declaration, which is an alias for int anyway.
This commit is contained in:
parent
1477a7668d
commit
ca2a4ec365
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ CREATE TABLE IF NOT EXISTS photos(
|
|||
thumbnail TEXT,
|
||||
tagged_at INT,
|
||||
author_id INT,
|
||||
searchhidden INT,
|
||||
searchhidden BOOLEAN,
|
||||
-- GENERATED COLUMNS
|
||||
area INT GENERATED ALWAYS AS (width * height) VIRTUAL,
|
||||
aspectratio REAL GENERATED ALWAYS AS (1.0 * width / height) VIRTUAL,
|
||||
|
|
Loading…
Reference in a new issue