10 lines
239 B
Plaintext
10 lines
239 B
Plaintext
exports.seed = (knex) ->
|
|
knex('table_name').del()
|
|
.then () ->
|
|
# Inserts seed entries
|
|
knex('table_name').insert([
|
|
{id: 1, colName: 'rowValue'}
|
|
{id: 2, colName: 'rowValue2'}
|
|
{id: 3, colName: 'rowValue3'}
|
|
])
|