Update SQL scripts to include 'created_at' timestamp for exercise types: Modify insert statements in add_vocab_lesson_didactics.sql, create-vocab-courses.sql, and update-vocab-courses-existing.sql to add a 'created_at' column with the current timestamp, enhancing data tracking for vocabulary grammar exercise types.
This commit is contained in:
@@ -5,10 +5,10 @@ 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) VALUES
|
||||
('dialog_completion', 'Dialogergänzung'),
|
||||
('situational_response', 'Situative Antwort'),
|
||||
('pattern_drill', 'Muster-Drill'),
|
||||
('reading_aloud', 'Lautlese-Übung'),
|
||||
('speaking_from_memory', 'Freies Sprechen')
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user