fix: error: SQLITE_ERROR: near "AUTOINCREMENT": syntax error
This commit is contained in:
parent
9ad4bff62b
commit
2ea185a412
@ -9,6 +9,16 @@ export default {
|
|||||||
primaryKey: true,
|
primaryKey: true,
|
||||||
autoIncrement: true
|
autoIncrement: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: 'integer',
|
||||||
|
name: 'userId',
|
||||||
|
primaryKey: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'integer',
|
||||||
|
name: 'jobId',
|
||||||
|
primaryKey: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: 'belongsTo',
|
type: 'belongsTo',
|
||||||
name: 'job'
|
name: 'job'
|
||||||
|
Loading…
Reference in New Issue
Block a user