require('knex')({ client: 'pg', connection: 'postgres://user:pass@localhost:5432/dbname' }) See: Connect knex.schema.createTable('user', (table) => { table.increments('id') table.string('name') table.integer('age') }) .then(() => ···) See: Schema
![Knex cheatsheet](https://cdn-ak-scissors.b.st-hatena.com/image/square/e0a89cbe8fa5211b554496a870581df36a531665/height=288;version=1;width=512/https%3A%2F%2Fassets.devhints.io%2Fpreviews%2Fknex.jpg)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く