Skip to content

Commit

Permalink
Merge pull request #2163 from MushroomObserver/update-db-initialize-sql
Browse files Browse the repository at this point in the history
Update `db/initialize.sql` to drop/create a `cache_development` db
  • Loading branch information
nimmolo committed Jun 7, 2024
2 parents de86988 + 3f660ff commit 41fe437
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions db/initialize.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ drop database if exists mo_development;
create database mo_development
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
drop database if exists cache_development;
create database cache_development
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
drop database if exists mo_test;
create database mo_test
DEFAULT CHARACTER SET utf8
Expand Down Expand Up @@ -30,4 +34,5 @@ use mo_test;
drop database mo_tmp;

grant all privileges on mo_development.* to 'mo'@'localhost' with grant option;
grant all privileges on cache_development.* to 'mo'@'localhost' with grant option;
grant all privileges on mo_test.* to 'mo'@'localhost' with grant option;

0 comments on commit 41fe437

Please sign in to comment.