UNPKG

@selldone/clone-sheet

Version:

A web-based database exploration and visualization tool

38 lines (29 loc) 518 B
### Create Migration ```bash npx sequelize-cli migration:generate --name create-products ``` ### Create Migration + Model ```bash npx sequelize-cli model:generate --name Product --attributes title:string,price:float ``` ### Create databse ```bash node create-database.js ``` ### Migrate ```bash npx sequelize-cli db:migrate ``` ### Run ```bash node index.js ``` # NocoDB Setup Docker: ```bash docker run -d \ --name noco \ -v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ nocodb/nocodb:latest ```