Skip to content

Commit

Permalink
drop SUPER privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
goekay committed Jun 24, 2024
1 parent 70fa56c commit 7d13dbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
mysql -h 127.0.0.1 -P 3306 -uroot -proot -e "CREATE DATABASE stevedb_test_2aa6a783d47d;" -v
mysql -h 127.0.0.1 -P 3306 -uroot -proot -e "CREATE USER 'steve'@'%' IDENTIFIED BY 'changeme';" -v
mysql -h 127.0.0.1 -P 3306 -uroot -proot -e "GRANT ALL PRIVILEGES ON stevedb_test_2aa6a783d47d.* TO 'steve'@'%';" -v
mysql -h 127.0.0.1 -P 3306 -uroot -proot -e "GRANT SUPER ON *.* TO 'steve'@'%';" -v || true
- name: Build with Maven
run: ./mvnw -B -V -Dmaven.javadoc.skip=true -Ptest clean package --file pom.xml
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/db/migration/B1_0_5__stevedb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ CREATE TABLE `user` (

DROP VIEW IF EXISTS `transaction`;
CREATE ALGORITHM=UNDEFINED
DEFINER=`steve`@`localhost` SQL SECURITY DEFINER
VIEW `transaction` AS select
`tx1`.`transaction_pk` AS `transaction_pk`,
`tx1`.`connector_pk` AS `connector_pk`,
Expand All @@ -373,7 +372,6 @@ VIEW `transaction` AS select

DROP VIEW IF EXISTS `ocpp_tag_activity`;
CREATE ALGORITHM=UNDEFINED
DEFINER=`steve`@`localhost` SQL SECURITY DEFINER
VIEW `ocpp_tag_activity` AS select
`o`.`ocpp_tag_pk` AS `ocpp_tag_pk`,
`o`.`id_tag` AS `id_tag`,
Expand Down

0 comments on commit 7d13dbf

Please sign in to comment.