Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var knex = require('knex')({
- client: 'pg',
- connection: {
- user: 'postgres',
- database: 'mydb',
- host: 'localhost',
- password: 'postgres'
- },
- debug: true,
- pool: {
- min: 1,
- max:2
- }
- });
- knex.schema.createTable('users', function (table) {
- table.increments();
- table.string('name');
- table.timestamps();
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement