* chore: install diff package * chore: add id to render component * feat: implement language lesson version history * chore: fix darkmode colors and use tailwind css * chore: add screensize conditional * refactor: list updating after data fetch * change mode to view to prevent duplicate data being saved * chore: remove raw text * chore: db migration * feat: properly format timestamp * feat: add snackbar for success * chore: group by minutes, use icons instead of texts for buttons * docs: generate translations * refactor --------- Co-authored-by: Iniubong Obonguko <[email protected]>
7 lines
256 B
SQL
7 lines
256 B
SQL
create or replace view "public"."lesson_versions" as SELECT llh.old_content,
|
|
llh.new_content,
|
|
llh."timestamp",
|
|
ll.locale,
|
|
ll.lesson_id
|
|
FROM (lesson_language_history llh
|
|
JOIN lesson_language ll ON ((ll.id = llh.lesson_language_id))); |