Configure IlanaORM for different environments and databases
ilana.config.js
file is the heart of your IlanaORM setup. Think of it as the control panel for your database connections.
default
- Which database to use when you don’t specify oneconnections
- Different databases you can connect tomigrations
- Where your table blueprints are storedseeds
- Where your sample data scripts are stored.env
files with real passwords to version control. Add .env
to your .gitignore
file..env
file:
Connection Refused
SQLite File Not Found
npx ilana migrate
Environment Variables Not Loading
npm install dotenv
require('dotenv').config()
to your config file.env
file syntax (no spaces around =
)