15 lines
651 B
SQL
15 lines
651 B
SQL
ALTER TABLE community.vocab_course_lesson
|
|
ADD COLUMN IF NOT EXISTS learning_goals JSONB,
|
|
ADD COLUMN IF NOT EXISTS core_patterns JSONB,
|
|
ADD COLUMN IF NOT EXISTS grammar_focus JSONB,
|
|
ADD COLUMN IF NOT EXISTS speaking_prompts JSONB,
|
|
ADD COLUMN IF NOT EXISTS practical_tasks JSONB;
|
|
|
|
INSERT INTO community.vocab_grammar_exercise_type (name, description, created_at) VALUES
|
|
('dialog_completion', 'Dialogergänzung', NOW()),
|
|
('situational_response', 'Situative Antwort', NOW()),
|
|
('pattern_drill', 'Muster-Drill', NOW()),
|
|
('reading_aloud', 'Lautlese-Übung', NOW()),
|
|
('speaking_from_memory', 'Freies Sprechen', NOW())
|
|
ON CONFLICT (name) DO NOTHING;
|