Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/sql/mysql/init_snowflake_test_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ values

insert into sys_data_rule (id, name, model, `column`, operator, expression, `value`, created_time, updated_time)
values
(2048601264035594240, '部门名称等于测试', '部门', 'name', 1, 0, '测试', now(), null),
(2048601264102703104, '父部门 ID 等于 1', '部门', 'parent_id', 0, 0, '1', now(), null);
(2048601264035594240, '部门名称等于测试', 'Dept', 'name', 1, 0, '测试', now(), null),
(2048601264102703104, '父部门 ID 等于 1', 'Dept', 'parent_id', 0, 0, '1', now(), null);

insert into sys_data_scope_rule (id, data_scope_id, data_rule_id)
values
Expand Down
4 changes: 2 additions & 2 deletions backend/sql/mysql/init_test_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ values

insert into sys_data_rule (id, name, model, `column`, operator, expression, `value`, created_time, updated_time)
values
(1, '部门名称等于测试', '部门', 'name', 1, 0, '测试', now(), null),
(2, '父部门 ID 等于 1', '部门', 'parent_id', 0, 0, '1', now(), null);
(1, '部门名称等于测试', 'Dept', 'name', 1, 0, '测试', now(), null),
(2, '父部门 ID 等于 1', 'Dept', 'parent_id', 0, 0, '1', now(), null);

insert into sys_role_data_scope (id, role_id, data_scope_id)
values
Expand Down
4 changes: 2 additions & 2 deletions backend/sql/postgresql/init_snowflake_test_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ values

insert into sys_data_rule (id, name, model, "column", operator, expression, "value", created_time, updated_time)
values
(2048601269932785664, '部门名称等于测试', '部门', 'name', 1, 0, '测试', now(), null),
(2048601269999894528, '父部门 ID 等于 1', '部门', 'parent_id', 0, 0, '1', now(), null);
(2048601269932785664, '部门名称等于测试', 'Dept', 'name', 1, 0, '测试', now(), null),
(2048601269999894528, '父部门 ID 等于 1', 'Dept', 'parent_id', 0, 0, '1', now(), null);

insert into sys_data_scope_rule (id, data_scope_id, data_rule_id)
values
Expand Down
4 changes: 2 additions & 2 deletions backend/sql/postgresql/init_test_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ values

insert into sys_data_rule (id, name, model, "column", operator, expression, "value", created_time, updated_time)
values
(1, '部门名称等于测试', '部门', 'name', 1, 0, '测试', now(), null),
(2, '父部门 ID 等于 1', '部门', 'parent_id', 0, 0, '1', now(), null);
(1, '部门名称等于测试', 'Dept', 'name', 1, 0, '测试', now(), null),
(2, '父部门 ID 等于 1', 'Dept', 'parent_id', 0, 0, '1', now(), null);

insert into sys_role_data_scope (id, role_id, data_scope_id)
values
Expand Down