Commit Graph

12 Commits

Author SHA1 Message Date
6d0ae825d8 Remove tids for Translations 2023-03-01 15:58:38 +01:00
b0267ef752 Add long urls for Artikel 2023-02-12 18:46:19 +01:00
cf3a105a0f Add public_content to casts for translation
Overlooked - should have been in fa7671f972
2023-01-19 22:24:53 +01:00
aab04f5ecc Add public_content to translations table and rename lang to language 2023-01-15 17:55:26 +01:00
536ebdd0bd Add foreign_key_constraint validation to Article and Translation 2023-01-04 15:29:14 +01:00
b1110beeaf Add default values for language in Article and Translation 2023-01-04 15:28:30 +01:00
d589d84b40 Add creating and basic editing of translation 2023-01-04 14:42:13 +01:00
40b1bedbe2 Add article_id to Translation validations 2022-12-30 21:17:46 +01:00
2075315721 Add unique constraint to Translation
To make sure only one translation per article is possible.
2022-12-30 21:16:06 +01:00
4f04019dee Add saving TranslationUnitsMap always
Need to figure out how to manage that changed status gets checked properly.
2022-12-26 19:05:47 +01:00
afb25a328c Add TranslationUnitsMap as content type for Translations 2022-12-26 19:04:21 +01:00
f66521dba8 Add Translations
mix phx.gen.live Translations Translation translations \
  lang:string title:string teaser:text content:map \
  date:utc_datetime user_id:references:users \
  public:boolean unauthorized:boolean article_id:references:articles
2022-12-26 18:45:40 +01:00