Skip to content

Commit

Permalink
Merge pull request #64 from WomenPlusPlus/remove-auth-data
Browse files Browse the repository at this point in the history
remove data from auth schema
  • Loading branch information
daczczcz1 authored Oct 29, 2023
2 parents fc07bff + 53a8257 commit 4763225
Showing 1 changed file with 1 addition and 203 deletions.
204 changes: 1 addition & 203 deletions migrations/V2__add_testdata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,6 @@
-- role ('admin', 'user');
-- action ('CREATE', 'UPDATE', 'DELETE');

insert into
public.kpi_user (user_id, user_name, role)
values
(
'6ab40640-8ff6-4363-a2f5-5691df9b8821',
'Barb Dwyer',
'user'
),
(
'09a05096-4efd-4937-93e9-1174b7395e92',
'Claire Voyant',
'user'
),
(
'050b514d-9c76-42b0-b995-7e1bbef08c7b',
'Anne Chovie',
'user'
),
(
'2eca1eb1-2876-4625-ab7b-ce5342343f08',
'Will Power',
'user'
),
(
'b92cb471-1eb2-4715-97dd-85fe48e9a286',
'Ella Vator',
'user'
),
(
'fcdf7c92-51c7-411e-a7fd-b3facd95a26c',
'Justin Time',
'user'
),
(
'88cc6842-565c-4b60-96f6-56c30ca640e4',
'Terry Aki',
'user'
);
insert into
public.circle (circle_name)
values
Expand All @@ -53,16 +15,7 @@ values
('HR'),
('Community Engagement'),
('Operational Efficiency');
insert into
public.circle_user (circle_id, user_id)
values
(1, '6ab40640-8ff6-4363-a2f5-5691df9b8821'),
(2, '09a05096-4efd-4937-93e9-1174b7395e92'),
(3, '050b514d-9c76-42b0-b995-7e1bbef08c7b'),
(4, '2eca1eb1-2876-4625-ab7b-ce5342343f08'),
(5, 'b92cb471-1eb2-4715-97dd-85fe48e9a286'),
(6, 'fcdf7c92-51c7-411e-a7fd-b3facd95a26c'),
(7, '88cc6842-565c-4b60-96f6-56c30ca640e4');

insert into
public.kpi_definition (
kpi_name,
Expand Down Expand Up @@ -203,161 +156,6 @@ values
(6, 2),
(6, 7),
(7, 8);
insert into
public.kpi_values_history (
kpi_id,
circle_id,
user_id,
value,
period_date,
action,
created_at
)
values
(
5,
1,
'6ab40640-8ff6-4363-a2f5-5691df9b8821',
900,
'2023-10-01',
'CREATE',
current_timestamp
),
(
10,
1,
'6ab40640-8ff6-4363-a2f5-5691df9b8821',
67,
'2023-10-11',
'CREATE',
current_timestamp
),
(
1,
2,
'09a05096-4efd-4937-93e9-1174b7395e92',
80,
'2023-10-02',
'CREATE',
current_timestamp
),
(
4,
3,
'050b514d-9c76-42b0-b995-7e1bbef08c7b',
4500,
'2023-10-03',
'CREATE',
current_timestamp
),
(
12,
3,
'050b514d-9c76-42b0-b995-7e1bbef08c7b',
48,
'2023-10-28',
'CREATE',
current_timestamp
),
(
14,
3,
'050b514d-9c76-42b0-b995-7e1bbef08c7b',
56000,
'2023-10-28',
'CREATE',
current_timestamp
),
(
3,
4,
'2eca1eb1-2876-4625-ab7b-ce5342343f08',
1200,
'2023-10-04',
'CREATE',
current_timestamp
),
(
6,
4,
'2eca1eb1-2876-4625-ab7b-ce5342343f08',
125,
'2023-10-04',
'CREATE',
current_timestamp
),
(
8,
4,
'2eca1eb1-2876-4625-ab7b-ce5342343f08',
1675,
'2023-10-04',
'CREATE',
current_timestamp
),
(
11,
5,
'b92cb471-1eb2-4715-97dd-85fe48e9a286',
56,
'2023-10-17',
'CREATE',
current_timestamp
),
(
11,
5,
'b92cb471-1eb2-4715-97dd-85fe48e9a286',
57,
'2023-10-17',
'UPDATE',
current_timestamp
),
(
13,
5,
'b92cb471-1eb2-4715-97dd-85fe48e9a286',
65,
'2023-10-17',
'CREATE',
current_timestamp
),
(
9,
5,
'b92cb471-1eb2-4715-97dd-85fe48e9a286',
69,
'2023-10-05',
'CREATE',
current_timestamp
),
(
2,
6,
'fcdf7c92-51c7-411e-a7fd-b3facd95a26c',
3000,
'2023-10-06',
'CREATE',
current_timestamp
),
(
7,
6,
'fcdf7c92-51c7-411e-a7fd-b3facd95a26c',
16,
'2023-10-08',
'CREATE',
current_timestamp
),
(
8,
7,
'fcdf7c92-51c7-411e-a7fd-b3facd95a26c',
306,
'2023-10-06',
'CREATE',
current_timestamp
);
insert into
public.target (kpi_id, target_value, unit, timeframe)
values
Expand Down

0 comments on commit 4763225

Please sign in to comment.