-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatabase.py
More file actions
37 lines (34 loc) · 750 Bytes
/
Copy pathdatabase.py
File metadata and controls
37 lines (34 loc) · 750 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
import os
DATABASES = {
"default": "mysql",
"mysql": {
"host": "127.0.0.1",
"driver": "mysql",
"database": os.getenv("DB_DATABASE"),
"user": "root",
"password": "",
"port": 3306,
"log_queries": False,
"options": {
#
},
},
"postgres": {
"host": "127.0.0.1",
"driver": "postgres",
"database": "masonite",
"user": "root",
"password": "",
"port": 5432,
"log_queries": False,
"options": {
#
},
},
"sqlite": {
"driver": "sqlite",
"database": "masonite.sqlite3",
},
}
MIGRATION_PATH = "databases/migrations"
SEEDER_PATH = "databases/seeders"