aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sampleconfig/knexfile.js46
1 files changed, 46 insertions, 0 deletions
diff --git a/sampleconfig/knexfile.js b/sampleconfig/knexfile.js
new file mode 100644
index 00000000..3b41ef73
--- /dev/null
+++ b/sampleconfig/knexfile.js
@@ -0,0 +1,46 @@
+// Update with your config settings.
+
+module.exports = {
+
+ development: {
+ client: 'mysql2',
+ connection: {
+ database: 'coinos',
+ user: 'tester',
+ password: 'pass'
+ }
+ },
+
+ staging: {
+ client: 'mysql2',
+ connection: {
+ database: 'coinos_stage',
+ user: 'staging_user',
+ password: 'pass'
+ },
+ pool: {
+ min: 2,
+ max: 10
+ },
+ migrations: {
+ tableName: 'knex_migrations'
+ }
+ },
+
+ production: {
+ client: 'mysql2',
+ connection: {
+ database: 'coinos',
+ user: 'webuser',
+ password: 'pass'
+ },
+ pool: {
+ min: 2,
+ max: 10
+ },
+ migrations: {
+ tableName: 'knex_migrations'
+ }
+ }
+
+};