Commit Graph

5 Commits

Author SHA1 Message Date
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