您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

01-users.js 276B

1234567891011
  1. const mock = require('../mock')
  2. exports.seed = function (knex) {
  3. // Deletes ALL existing entries
  4. return knex('users')
  5. .truncate()
  6. .then(function () {
  7. // Inserts seed entries
  8. return knex('users').insert(mock.users)
  9. })
  10. }