mirror of
https://github.com/withastro/astro.git
synced 2025-04-07 23:41:43 -05:00
chore: todo
This commit is contained in:
parent
8f7da6cc79
commit
25393279c5
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ function columnMapper(fieldName: string, field: DBField, isJsonSerializable: boo
|
|||
case 'number': {
|
||||
c = integer(fieldName);
|
||||
if (field.default !== undefined) c = c.default(field.default);
|
||||
// TODO: remove autoincrement per https://www.sqlite.org/autoinc.html
|
||||
if (field.primaryKey === true) c = c.primaryKey({ autoIncrement: true });
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue