Skip to content

Commit

Permalink
db: Human friendly default ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
jhf committed Oct 22, 2024
1 parent ca37de3 commit b773a7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dbseed/create-db-structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1631,8 +1631,8 @@ CREATE VIEW public.external_ident_type_active AS
\echo INSERT INTO public.external_ident_type
-- Prepare the per-configured external identifiers.
INSERT INTO public.external_ident_type (code, name, priority, description) VALUES
('stat_ident', 'Statistical Identifier', 2, 'Stable identifier generated by Statbus'),
('tax_ident', 'Tax Identifier', 1, 'Stable and country unique identifier used for tax reporting.');
('tax_ident', 'Tax Identifier', 1, 'Stable and country unique identifier used for tax reporting.'),
('stat_ident', 'Statistical Identifier', 2, 'Stable identifier generated by Statbus');


\echo public.external_ident
Expand Down Expand Up @@ -2485,8 +2485,8 @@ CREATE VIEW public.stat_definition_active AS
CALL lifecycle_callbacks.add_table('public.stat_definition');
--
INSERT INTO public.stat_definition(code, type, frequency, name, description, priority) VALUES
('employees','int','yearly','Number of people employed','The number of people receiving an official salary with government reporting.',2),
('turnover','int','yearly','Turnover','The amount (EUR)',3);
('employees','int','yearly','Number of people employed','The number of people receiving an official salary with government reporting.',1),
('turnover','int','yearly','Turnover','The amount (EUR)',2);

\echo public.stat_for_unit
CREATE TABLE public.stat_for_unit (
Expand Down

0 comments on commit b773a7c

Please sign in to comment.