add the correct rights for the test database
This commit is contained in:
parent
019427d00b
commit
929feb6e37
|
@ -11,4 +11,10 @@ create database if not exists webshopdb;
|
|||
grant all on webshopdb.* to
|
||||
'webshop'@'localhost'
|
||||
identified by '2YKtY53F3HDDzPyExAaSh3jdVNh6VN';
|
||||
grant all on test_webshopdb.* to
|
||||
'webshop'@'localhost'
|
||||
identified by '2YKtY53F3HDDzPyExAaSh3jdVNh6VN';
|
||||
grant all on django_migrations.* to
|
||||
'webshop'@'localhost'
|
||||
identified by '2YKtY53F3HDDzPyExAaSh3jdVNh6VN';
|
||||
flush privileges;
|
||||
|
|
|
@ -5,4 +5,6 @@
|
|||
-- MariaDB 10.1.26
|
||||
|
||||
drop database if exists webshopdb;
|
||||
drop database if exists test_webshopdb;
|
||||
drop database if exists django_migrations;
|
||||
drop user if exists webshop@localhost;
|
||||
|
|
Loading…
Reference in New Issue