mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
added mysql v8 to docker-compose;
This commit is contained in:
parent
5ebc626d29
commit
fd7ae9741e
@ -13,6 +13,20 @@ services:
|
||||
MYSQL_PASSWORD: "test"
|
||||
MYSQL_DATABASE: "test"
|
||||
|
||||
# mysql v8
|
||||
# mysql8:
|
||||
# image: "mysql:8"
|
||||
# container_name: "typeorm-mysql8"
|
||||
# ports:
|
||||
# - "3308:3306"
|
||||
# environment:
|
||||
# MYSQL_ROOT_PASSWORD: "admin"
|
||||
# MYSQL_USER: "test"
|
||||
# MYSQL_PASSWORD: "test"
|
||||
# MYSQL_DATABASE: "test"
|
||||
# volumes:
|
||||
# - mysql8_volume:/var/lib/mysql
|
||||
|
||||
# mariadb
|
||||
mariadb:
|
||||
image: "mariadb:10.5.13"
|
||||
@ -127,8 +141,10 @@ services:
|
||||
# container_name: "typeorm-redis"
|
||||
# ports:
|
||||
# - "6379:6379"
|
||||
|
||||
#volumes:
|
||||
# volume-hana-xe:
|
||||
# mysql8_volume:
|
||||
|
||||
networks:
|
||||
typeorm:
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "typeorm",
|
||||
"version": "0.3.6",
|
||||
"version": "0.3.7",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "typeorm",
|
||||
"version": "0.3.6",
|
||||
"version": "0.3.7",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@sqltools/formatter": "^1.2.2",
|
||||
|
||||
@ -2559,7 +2559,8 @@ export class MysqlQueryRunner extends BaseQueryRunner implements QueryRunner {
|
||||
tableColumn.name = dbColumn["COLUMN_NAME"]
|
||||
tableColumn.type =
|
||||
dbColumn["DATA_TYPE"].toLowerCase()
|
||||
// sicne mysql 8.0, "geometrycollection" returned as "geomcollection"
|
||||
|
||||
// since mysql 8.0, "geometrycollection" returned as "geomcollection"
|
||||
// typeorm still use "geometrycollection"
|
||||
if (tableColumn.type === "geomcollection") {
|
||||
tableColumn.type = "geometrycollection"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user