Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

Commit f3a759a

Browse files
committed
restore old version
1 parent 94c1727 commit f3a759a

File tree

6 files changed

+82
-99
lines changed

6 files changed

+82
-99
lines changed

db/mysql_change_column_name.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
var mysql = require("mysql2");
16+
var mysql = require("mysql");
1717
var config = require("../config/db");
1818

1919
var client = mysql.createConnection({

db/mysql_connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
var mysql = require("mysql2");
16+
var mysql = require("mysql");
1717
var config = require("../config/db");
1818

1919
var connection = mysql.createConnection(config);

db/mysql_initialize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
var mysql = require("mysql2");
16+
var mysql = require("mysql");
1717
var config = require("../config/db");
1818

1919
var client = mysql.createConnection({

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
depends_on:
2727
- init_db
2828
mysql:
29-
image: mysql:9
29+
image: mysql:5.7
3030
environment:
3131
- MYSQL_DATABASE=cfps_user
3232
- MYSQL_USER=cfps_user

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cfp-summary",
2+
"name": "CFP summary",
33
"version": "1.0.0",
44
"description": "Call for Paper database application",
55
"main": "index.js",
@@ -9,12 +9,12 @@
99
"author": "Yuta Hirokawa",
1010
"license": "Apache-2.0",
1111
"dependencies": {
12-
"body-parser": "^1.20.3",
13-
"express": "^4.21.1",
14-
"jquery": "^3.7.1",
15-
"moment": "^2.30.1",
16-
"mysql2": "^3.11.3",
17-
"pug": "^2.0.4",
18-
"underscore": "^1.13.7"
12+
"body-parser": "^1.15.2",
13+
"express": "^4.14.0",
14+
"jquery": "^3.1.1",
15+
"moment": "^2.15.1",
16+
"mysql": "^2.11.1",
17+
"pug": "^2.0.0-beta6",
18+
"underscore": "^1.8.3"
1919
}
2020
}

0 commit comments

Comments
 (0)