FIx tests
This commit is contained in:
parent
70096afd1b
commit
f2b34378ae
|
@ -120,7 +120,7 @@ it 'should run migration', (test) ->
|
||||||
getIndexes 'User', (err, fields) ->
|
getIndexes 'User', (err, fields) ->
|
||||||
test.deepEqual fields,
|
test.deepEqual fields,
|
||||||
PRIMARY:
|
PRIMARY:
|
||||||
Table: 'user'
|
Table: 'User'
|
||||||
Non_unique: 0
|
Non_unique: 0
|
||||||
Key_name: 'PRIMARY'
|
Key_name: 'PRIMARY'
|
||||||
Seq_in_index: 1
|
Seq_in_index: 1
|
||||||
|
@ -134,7 +134,7 @@ it 'should run migration', (test) ->
|
||||||
Comment: ''
|
Comment: ''
|
||||||
Index_comment: ''
|
Index_comment: ''
|
||||||
email:
|
email:
|
||||||
Table: 'user'
|
Table: 'User'
|
||||||
Non_unique: 1
|
Non_unique: 1
|
||||||
Key_name: 'email'
|
Key_name: 'email'
|
||||||
Seq_in_index: 1
|
Seq_in_index: 1
|
||||||
|
@ -148,7 +148,7 @@ it 'should run migration', (test) ->
|
||||||
Comment: ''
|
Comment: ''
|
||||||
Index_comment: ''
|
Index_comment: ''
|
||||||
index1:
|
index1:
|
||||||
Table: 'user'
|
Table: 'User'
|
||||||
Non_unique: 1
|
Non_unique: 1
|
||||||
Key_name: 'index1'
|
Key_name: 'index1'
|
||||||
Seq_in_index: 1
|
Seq_in_index: 1
|
||||||
|
|
Loading…
Reference in New Issue