Logo
Explore Help
Sign In
smhk1376/Aut.ManagementFaculty
Watch 1
Star 0 Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
Aut.ManagementFaculty/db/migrations/014_course_single_date.sql
T
smhk1376 2858b9c746 Remove unused redirects from the Next.js configuration and update package dependencies to include new Tiptap extensions for enhanced text editing capabilities. Clean up the database seeding script by removing commented-out code and ensuring proper deletion of obsolete entries. Update various pages to handle not found scenarios gracefully, improving user experience across the application.
2026-10-28 14:04:17 +03:30

7 lines
199 B
SQL
Raw Permalink Blame History

-- One date per course: when it starts being held.
UPDATE courses
SET start_date = held_date
WHERE start_date IS NULL AND held_date IS NOT NULL;
ALTER TABLE courses DROP COLUMN IF EXISTS held_date;
Reference in new issue View Git Blame Copy Permalink
Powered by Gitea Version: 28.2.0 Page: 31ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API