mirror of https://github.com/sipwise/db-schema.git
Change-Id: Iae82b3a64e9a74f137a8e18e37a97dc84a7dc154changes/78/1178/2
parent
ece69fab7d
commit
6c54fdfb66
@ -0,0 +1,12 @@
|
||||
use sipstats;
|
||||
set autocommit=0;
|
||||
|
||||
REVOKE SELECT,INSERT,UPDATE ON stats.call_info FROM 'mediator'@'localhost';
|
||||
|
||||
ALTER TABLE stats.call_info RENAME sipstats.call_info;
|
||||
|
||||
DROP DATABASE stats;
|
||||
|
||||
GRANT SELECT,INSERT,UPDATE ON sipstats.call_info TO 'mediator'@'localhost';
|
||||
|
||||
commit;
|
@ -0,0 +1,12 @@
|
||||
use sipstats;
|
||||
set autocommit=0;
|
||||
|
||||
REVOKE SELECT,INSERT,UPDATE ON sipstats.call_info FROM 'mediator'@'localhost';
|
||||
|
||||
CREATE DATABASE stats;
|
||||
|
||||
ALTER TABLE sipstats.call_info RENAME stats.call_info;
|
||||
|
||||
GRANT SELECT,INSERT,UPDATE ON stats.call_info TO 'mediator'@'localhost';
|
||||
|
||||
commit;
|
Loading…
Reference in new issue