npm run migrate create table comments
DATABASE_URL=postgres://postgres:password@localhost:5432/socialnetwork npm run migrate up
DATABASE_URL=postgres://postgres:password@localhost:5432/socialnetwork npm run migrate down
| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm run migrate create table comments
DATABASE_URL=postgres://postgres:password@localhost:5432/socialnetwork npm run migrate up
DATABASE_URL=postgres://postgres:password@localhost:5432/socialnetwork npm run migrate down