esquema knex.js

knex.schema.createTable('users', function (table) {
  table.increments();
  table.string('name');
  table.timestamps();
})Outputs:create table `users` (`id` int unsigned not null auto_increment primary key, `name` varchar(255), `created_at` datetime, `updated_at` datetime)
Uptight Unicorn