CC-1960: Internationalize Airtime / Support translations
- created locale table - create locale model - set default locale in pref table
This commit is contained in:
parent
81c9b4d862
commit
2f0c6b702a
13 changed files with 1891 additions and 13 deletions
|
@ -723,6 +723,25 @@ CREATE TABLE "cc_listener_count"
|
|||
COMMENT ON TABLE "cc_listener_count" IS '';
|
||||
|
||||
|
||||
SET search_path TO public;
|
||||
-----------------------------------------------------------------------------
|
||||
-- cc_locale
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
DROP TABLE "cc_locale" CASCADE;
|
||||
|
||||
|
||||
CREATE TABLE "cc_locale"
|
||||
(
|
||||
"id" serial NOT NULL,
|
||||
"locale_code" VARCHAR(16) NOT NULL,
|
||||
"locale_lang" VARCHAR(128) NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
COMMENT ON TABLE "cc_locale" IS '';
|
||||
|
||||
|
||||
SET search_path TO public;
|
||||
ALTER TABLE "cc_files" ADD CONSTRAINT "cc_files_owner_fkey" FOREIGN KEY ("owner_id") REFERENCES "cc_subjs" ("id");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue