1.1 Use this command to download PostgreSQL:
sudo apt-get install postgresql
1.2 Now start the PostgreSQL service with:
To create SQLx migrations for PostgreSQL via the terminal, follow these steps: | |
1. First, install the SQLx CLI if you haven't already: | |
```bash | |
cargo install sqlx-cli | |
``` | |
2. Set up your database URL as an environment variable: |
Official sequelize-cli README.md for commands : https://github.com/sequelize/cli
Install the necessary packages:
npm install mysql2 sequelize sequelize-cli @types/sequelize