Revert "db: squash migrations"

This reverts commit d010531ef7.
This commit is contained in:
Rotimi Best
2025-04-21 01:01:23 +01:00
parent 52e181adf8
commit 50e89f90c9
34 changed files with 3467 additions and 2603 deletions
@@ -0,0 +1,13 @@
create type "public"."LOCALE" as enum ('en', 'hi', 'fr', 'pt', 'de', 'vi', 'ru', 'es');
create table
public.lesson_language (
id bigint generated by default as identity,
content text null,
lesson_id uuid null default gen_random_uuid (),
locale "LOCALE" default 'en'::"LOCALE",
constraint lesson_language_pkey primary key (id),
constraint public_lesson_language_lesson_id_fkey foreign key (lesson_id) references lesson (id)
) tablespace pg_default;
alter table "public"."profile" add column "locale" "LOCALE" default 'en'::"LOCALE";