Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 546 Bytes

README.md

File metadata and controls

42 lines (31 loc) · 546 Bytes

React Seed Server

Dependencies

Add new packages to the server sub-project:

yarn add <package>

Migrations

Create migration script

yarn run migrate:make -- <migration_name>

Example: yarn run migrate:make -- create_person_table

Execute migration

yarn run migrate:latest

Rollback migration

yarn run migrate:rollback

Seeds

Create seed script

yarn run seed:make

Execute seed

yarn run seed:run