diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db/migration/change.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/migration/change.rs b/src/db/migration/change.rs index a07ef24..758e23a 100644 --- a/src/db/migration/change.rs +++ b/src/db/migration/change.rs @@ -37,6 +37,7 @@ impl DatabaseChange { Field::DateTimeField { name } => { (*name, types::text()) // TODO do smart things on non-sqlite } + Field::IntField { name: "id" } => ("id", types::primary()), Field::IntField { name } => (*name, types::integer()), }) .collect(); |