fix mysql database

This commit is contained in:
Marcos Alexandre de Melo Medeiros
2017-07-13 00:44:45 -03:00
parent be4130b90e
commit ed87a9dcfe
2 changed files with 3 additions and 6 deletions
@@ -1,5 +1,5 @@
CREATE TABLE `user_group` (
`number` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`number` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`id` VARCHAR(30) NOT NULL,
PRIMARY KEY (`number`)
);
+2 -5
View File
@@ -1,7 +1,4 @@
FROM mysql:5.7
ENV PINPOINT_VERSION=1.6.2
ADD https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql /docker-entrypoint-initdb.d
ADD https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobReositorySchema-mysql.sql /docker-entrypoint-initdb.d
RUN chmod 0777 /docker-entrypoint-initdb.d/*.sql
ADD CreateTableStatement-mysql.sql /docker-entrypoint-initdb.d
ADD SpringBatchJobReositorySchema-mysql.sql /docker-entrypoint-initdb.d