From 0d191935ed3d7cb516ecc204cfd6a0b86111acbd Mon Sep 17 00:00:00 2001 From: dwkim Date: Tue, 8 Nov 2016 00:58:29 +0900 Subject: [PATCH 1/2] adding database.json and empty properties - adding json file - adding connection properties --- config/database.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 config/database.json diff --git a/config/database.json b/config/database.json new file mode 100644 index 0000000..18faf01 --- /dev/null +++ b/config/database.json @@ -0,0 +1,5 @@ +{ + "port": 1443, + "dialect": "mssql", + "pool": { "max": 5, "min": 0, "idle": 10000 } +} From 11751d12899e320edf720b3f62ac22c7c8c04653 Mon Sep 17 00:00:00 2001 From: dwkim Date: Tue, 8 Nov 2016 01:02:09 +0900 Subject: [PATCH 2/2] adding values --- config/database.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/database.json b/config/database.json index 18faf01..dc90061 100644 --- a/config/database.json +++ b/config/database.json @@ -1,5 +1,9 @@ -{ +{ + "username": "YOUR_AZURE_SQL_DB_LOGON_ID", + "password": "YOUR_PASSWORD", + "database": "YOUR_DATABASE_NAME", + "host": "YOUR_HOSTNAME.database.windows.net", "port": 1443, "dialect": "mssql", "pool": { "max": 5, "min": 0, "idle": 10000 } -} +} \ No newline at end of file