Skip to content

Commit

Permalink
refactor: update template to use migrations.naturalSort option
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Feb 26, 2021
1 parent 8aae1b9 commit a72d8e6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions templates/database.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ const databaseConfig: DatabaseConfig = {
connection: {
filename: Application.tmpPath('db.sqlite3'),
},
migrations: {
naturalSort: true,
},
useNullAsDefault: true,
healthCheck: false,
debug: false,
Expand Down Expand Up @@ -69,6 +72,9 @@ const databaseConfig: DatabaseConfig = {
password: Env.get('MYSQL_PASSWORD', ''),
database: Env.get('MYSQL_DB_NAME'),
},
migrations: {
naturalSort: true,
},
healthCheck: false,
debug: false,
},
Expand All @@ -95,6 +101,9 @@ const databaseConfig: DatabaseConfig = {
password: Env.get('PG_PASSWORD', ''),
database: Env.get('PG_DB_NAME'),
},
migrations: {
naturalSort: true,
},
healthCheck: false,
debug: false,
},
Expand All @@ -121,6 +130,9 @@ const databaseConfig: DatabaseConfig = {
password: Env.get('ORACLE_PASSWORD', ''),
database: Env.get('ORACLE_DB_NAME'),
},
migrations: {
naturalSort: true,
},
healthCheck: false,
debug: false,
},
Expand All @@ -147,6 +159,9 @@ const databaseConfig: DatabaseConfig = {
password: Env.get('MSSQL_PASSWORD', ''),
database: Env.get('MSSQL_DB_NAME'),
},
migrations: {
naturalSort: true,
},
healthCheck: false,
debug: false,
}
Expand Down

0 comments on commit a72d8e6

Please sign in to comment.