24 lines
436 B
PL/PgSQL
24 lines
436 B
PL/PgSQL
-- Deploy camper:available_sexes to pg
|
|
-- requires: sex
|
|
-- requires: sex_i18n
|
|
|
|
begin;
|
|
|
|
set search_path to camper;
|
|
|
|
insert into sex (sex_id, name)
|
|
values ('F', 'Female')
|
|
, ('M', 'Male')
|
|
;
|
|
|
|
insert into sex_i18n (sex_id, lang_tag, name)
|
|
values ('F', 'ca', 'Femení')
|
|
, ('M', 'ca', 'Masculí')
|
|
, ('F', 'es', 'Femenino')
|
|
, ('M', 'es', 'Masculino')
|
|
, ('F', 'fr', 'Féminin')
|
|
, ('M', 'fr', 'Masculin')
|
|
;
|
|
|
|
commit;
|