11
2- -- albania oct 2025 - jan 2026
2+ -- albania oct 2025 - jan 2026 mar 2026
33
44\ir ./ reset .sql
55
@@ -12,36 +12,31 @@ BEGIN
1212 -- CALL public.custom_setup_reset();
1313-- utkommenterer reset ettersom den ikkke finnes..
1414-- select * from external_ident_type
15-
15+
1616
1717-- al no need for stat ident
1818 UPDATE external_ident_type
19- SET archived = TRUE
19+ SET enabled = FALSE
2020 WHERE id = 2 ;
2121
2222
23-
24-
25-
2623 INSERT INTO data_source_custom (code, name)
2724 VALUES
2825 (' tax' , ' Tax' );
2926
30- -- no more default active passive
27+ -- no more default active / passive
3128update status
32- set active = FALSE
29+ set enabled = FALSE
3330where id = 1 or id = 2 ;
3431
3532
3633 INSERT INTO status
37- (code, name, assigned_by_default, used_for_counting, priority, active , custom)
34+ (code, name, assigned_by_default, used_for_counting, priority, enabled , custom)
3835 VALUES
39- (' 1' , ' Active' , TRUE, TRUE, 3 , TRUE, TRUE),
40- (' 2' , ' Closed' , FALSE, FALSE, 6 , TRUE, TRUE),
36+ (' 1' , ' Active' , TRUE, TRUE, 3 , TRUE, TRUE),
37+ (' 2' , ' Closed' , FALSE, FALSE, 6 , TRUE, TRUE),
4138 (' 3' , ' Passive' , FALSE, FALSE, 4 , TRUE, TRUE),
42- (' 4' , ' Never_Active' , FALSE, FALSE, 5 , TRUE, TRUE);
43-
44-
39+ (' 4' , ' Never_Active' , FALSE, FALSE, 5 , TRUE, TRUE);
4540
4641
4742
@@ -55,13 +50,11 @@ where id = 2 ; -- nace
5550
5651
5752
58-
59-
6053 INSERT INTO stat_definition (code, type, frequency, name, priority)
6154 VALUES
6255 (' female' , ' int' , ' yearly' , ' Female' , 3 ),
6356 (' male' , ' int' , ' yearly' , ' Male' , 4 ),
64- (' selfemp' , ' int' , ' yearly' , ' SelfEmp' , 5 ),
57+ (' selfemp' , ' int' , ' yearly' , ' SelfEmp' , 5 ),
6558 (' punpag' , ' int' , ' yearly' , ' PunPag' , 6 );
6659
6760 RAISE NOTICE ' Done Tirana Albania at %' , now();
0 commit comments