This repository was archived by the owner on Nov 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +82
-99
lines changed Expand file tree Collapse file tree 6 files changed +82
-99
lines changed Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- var mysql = require ( "mysql2 " ) ;
16
+ var mysql = require ( "mysql " ) ;
17
17
var config = require ( "../config/db" ) ;
18
18
19
19
var client = mysql . createConnection ( {
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- var mysql = require ( "mysql2 " ) ;
16
+ var mysql = require ( "mysql " ) ;
17
17
var config = require ( "../config/db" ) ;
18
18
19
19
var connection = mysql . createConnection ( config ) ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- var mysql = require ( "mysql2 " ) ;
16
+ var mysql = require ( "mysql " ) ;
17
17
var config = require ( "../config/db" ) ;
18
18
19
19
var client = mysql . createConnection ( {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ services:
26
26
depends_on :
27
27
- init_db
28
28
mysql :
29
- image : mysql:9
29
+ image : mysql:5.7
30
30
environment :
31
31
- MYSQL_DATABASE=cfps_user
32
32
- MYSQL_USER=cfps_user
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " cfp- summary" ,
2
+ "name" : " CFP summary" ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " Call for Paper database application" ,
5
5
"main" : " index.js" ,
9
9
"author" : " Yuta Hirokawa" ,
10
10
"license" : " Apache-2.0" ,
11
11
"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 "
19
19
}
20
20
}
You can’t perform that action at this time.
0 commit comments