-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.config.mjs
More file actions
44 lines (39 loc) · 792 Bytes
/
Copy pathexample.config.mjs
File metadata and controls
44 lines (39 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// ilana.config.mjs - ES Module config example
export default {
default: "sqlite",
connections: {
sqlite: {
client: "sqlite3",
connection: {
filename: "./database.sqlite",
},
},
mysql: {
client: "mysql2",
connection: {
host: "localhost",
port: 3306,
user: "your_username",
password: "your_password",
database: "your_database",
},
},
postgres: {
client: "pg",
connection: {
host: "localhost",
port: 5432,
user: "your_username",
password: "your_password",
database: "your_database",
},
},
},
migrations: {
directory: "./migrations",
tableName: "migrations",
},
seeds: {
directory: "./seeds",
},
};