R
R
RxApi
Search
⌃
K
R
R
RxApi
Search
⌃
K
Introduction
Basic configuration
HTTP
Router
Routes/Controller
WEBSOCKETS
Events
DATABASE/ORM (KNEX)
Basic configuration
Migrations and cli
Powered By
GitBook
Comment on page
Migrations and cli
Knex migrations in "./migrations" folder.
Install knex console "cli":
sudo
npm
i knex
-g
Create a empty knexfile.js
knex init
Run the last migration
knex migrate:latest
Create a new migration
knex migrate:make
users
Remove changes
knex migrate:rollback
DATABASE/ORM (KNEX) - Previous
Basic configuration
Last modified
3yr ago