22 lines
474 B
MySQL
22 lines
474 B
MySQL
|
-- Deploy numerus:country_i18n to pg
|
||
|
-- requires: schema_numerus
|
||
|
-- requires: country_code
|
||
|
-- requires: language
|
||
|
-- requires: country
|
||
|
|
||
|
begin;
|
||
|
|
||
|
set search_path to numerus, public;
|
||
|
|
||
|
create table country_i18n (
|
||
|
country_code country_code not null references country,
|
||
|
lang_tag text not null references language,
|
||
|
name text not null,
|
||
|
primary key (country_code, lang_tag)
|
||
|
);
|
||
|
|
||
|
grant select on table country_i18n to invoicer;
|
||
|
grant select on table country_i18n to admin;
|
||
|
|
||
|
commit;
|