Add database and default values

This commit is contained in:
Ethan Lane 2022-02-28 18:38:13 +00:00
parent c8edd1b4c5
commit db9f639766
Signed by: Vylpes
GPG key ID: EED233CC06D12504
9 changed files with 453 additions and 11 deletions

24
ormconfig.json.template Normal file
View file

@ -0,0 +1,24 @@
{
"type": "mysql",
"host": "localhost",
"port": 3306,
"username": "dev",
"password": "dev",
"database": "droplet",
"synchronize": true,
"logging": false,
"entities": [
"dist/entity/**/*.js"
],
"migrations": [
"dist/migration/**/*.js"
],
"subscribers": [
"dist/subscriber/**/*.js"
],
"cli": {
"entitiesDir": "dist/entity",
"migrationsDir": "dist/migration",
"subscribersDir": "dist/subscriber"
}
}