You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- exports.up = function(knex) {
- return knex.schema
- .createTable('users', async function (table) {
- table.increments('id');
- table.string('email');
- table.string('pwd');
- table.datetime('regdate').defaultTo(knex.fn.now());
- table.string('regcode');
- table.boolean('validated');
- table.string('firstName');
- table.string('lastName');
- })
-
- };
-
- exports.down = function(knex) {
- return knex.schema
- .dropTable('users')
- };
|