coffee.stub 248 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 exports.seed = (knex, Promise) -> knex('table_name').del() .then () -> # Inserts seed entries knex('table_name').insert([ {id: 1, colName: 'rowValue'} {id: 2, colName: 'rowValue2'} {id: 3, colName: 'rowValue3'} ])