mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Removed no longer needed RoleHostFK as it is not used to link to a Role.
Also removed code that loads that column into memory.
This commit is contained in:
committed by
Sergei Golubchik
parent
ee1e66468f
commit
071c4ce88b
@ -44,10 +44,7 @@ set @had_user_table= @@warning_count != 0;
|
||||
CREATE TABLE IF NOT EXISTS roles_mapping (
|
||||
HostFk char(60) binary DEFAULT '' NOT NULL,
|
||||
UserFk char(16) binary DEFAULT '' NOT NULL,
|
||||
RoleHostFK char(60) binary DEFAULT '' NOT NULL,
|
||||
RoleUserFk char(16) binary DEFAULT '' NOT NULL,
|
||||
CONSTRAINT FOREIGN KEY (HostFk, UserFk) REFERENCES user (Host, User),
|
||||
CONSTRAINT FOREIGN KEY (RoleHostFk, RoleUserFk) REFERENCES user (Host, User)
|
||||
RoleFk char(16) binary DEFAULT '' NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user