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

Commit

Permalink
restore old version
Browse files Browse the repository at this point in the history
  • Loading branch information
namachan10777 committed Oct 21, 2024
1 parent 94c1727 commit f3a759a
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 99 deletions.
2 changes: 1 addition & 1 deletion db/mysql_change_column_name.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var mysql = require("mysql2");
var mysql = require("mysql");
var config = require("../config/db");

var client = mysql.createConnection({
Expand Down
2 changes: 1 addition & 1 deletion db/mysql_connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var mysql = require("mysql2");
var mysql = require("mysql");
var config = require("../config/db");

var connection = mysql.createConnection(config);
Expand Down
2 changes: 1 addition & 1 deletion db/mysql_initialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var mysql = require("mysql2");
var mysql = require("mysql");
var config = require("../config/db");

var client = mysql.createConnection({
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
depends_on:
- init_db
mysql:
image: mysql:9
image: mysql:5.7
environment:
- MYSQL_DATABASE=cfps_user
- MYSQL_USER=cfps_user
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cfp-summary",
"name": "CFP summary",
"version": "1.0.0",
"description": "Call for Paper database application",
"main": "index.js",
Expand All @@ -9,12 +9,12 @@
"author": "Yuta Hirokawa",
"license": "Apache-2.0",
"dependencies": {
"body-parser": "^1.20.3",
"express": "^4.21.1",
"jquery": "^3.7.1",
"moment": "^2.30.1",
"mysql2": "^3.11.3",
"pug": "^2.0.4",
"underscore": "^1.13.7"
"body-parser": "^1.15.2",
"express": "^4.14.0",
"jquery": "^3.1.1",
"moment": "^2.15.1",
"mysql": "^2.11.1",
"pug": "^2.0.0-beta6",
"underscore": "^1.8.3"
}
}
Loading

0 comments on commit f3a759a

Please sign in to comment.