.drone.yml, Dockerfile update and new location.sql script
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
98021c6bfd
commit
7d9df34c69
@ -1,5 +1,8 @@
|
||||
FROM mcr.microsoft.com/mssql/server:2022-latest
|
||||
USER root
|
||||
ENV ACCEPT_EULA=Y
|
||||
ENV MSSQL_SA_PASSWORD="$ROOT_PASSWORD"
|
||||
ENV MSSQL_PID=Developer
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
COPY ./sql /var/lib/mysql
|
||||
CMD ./sql/create.sql
|
||||
CMD ./sql/location.sql
|
@ -0,0 +1,18 @@
|
||||
CREATE DATABASE IF NOT EXISTS positiondaflmusic;
|
||||
|
||||
CREATE USER 'dafldev'@'%' IDENTIFIED BY 'wrap;
|
||||
|
||||
GRANT ALL PRIVILEGES ON * . * TO 'dafldev'@'%';
|
||||
|
||||
FLUSH PRIVILEGES;
|
||||
|
||||
CREATE TABLE gps (
|
||||
id varchar(30) PRIMARY KEY,
|
||||
latitude double NOT NULL,
|
||||
longitude double NOT NULL,
|
||||
idMusic varchar(100) NOT NULL,
|
||||
dateLog datetime NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue