Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Premwoik committed Apr 26, 2022
1 parent 9d2a19f commit d5d4198
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion big_tests/tests/graphql_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ end_per_suite(Config) ->
init_per_group(admin_handler, Config) ->
graphql_helper:init_admin_handler(Config);
init_per_group(domain_admin_handler, Config) ->
graphql_helper:init_domain_admin_handler(Config);
case mongoose_helper:is_rdbms_enabled(domain_helper:host_type()) of
true ->
graphql_helper:init_domain_admin_handler(Config);
false ->
{skip, require_rdbms}
end;
init_per_group(user_handler, Config) ->
Config1 = escalus:create_users(Config, escalus:get_users([alice])),
[{schema_endpoint, user} | Config1];
Expand Down
3 changes: 2 additions & 1 deletion priv/mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,9 @@ CREATE TABLE offline_markers (
CREATE INDEX i_offline_markers ON offline_markers(jid);

CREATE TABLE domain_admin(
domain VARCHAR(250) NOT NULL PRIMARY KEY,
domain VARCHAR(250) NOT NULL,
password VARCHAR(250) NOT NULL,
PRIMARY KEY(domain)
);

-- Mapping from domain hostname to host_type.
Expand Down

0 comments on commit d5d4198

Please sign in to comment.