Update database connection details and enhance course management functionality. Changed DATABASE_URL in deployment workflow to a direct connection string. Added course pruning logic in seed script to maintain database integrity. Updated faculty and registration forms to include additional fields for better data capture. Refined layout components for improved user experience and responsiveness.
This commit is contained in:
1 parent
0874b968ba
commit
6909a935fd
74 files changed
+1506
-420
No files matched your search
@@ -0,0 +1,8 @@
|
||||
-- Contact / profile links for faculty directory
|
||||
ALTER TABLE faculty_members
|
||||
ADD COLUMN IF NOT EXISTS email TEXT,
|
||||
ADD COLUMN IF NOT EXISTS office TEXT,
|
||||
ADD COLUMN IF NOT EXISTS phone TEXT,
|
||||
ADD COLUMN IF NOT EXISTS department TEXT,
|
||||
ADD COLUMN IF NOT EXISTS linkedin_url TEXT,
|
||||
ADD COLUMN IF NOT EXISTS scholar_url TEXT;
|
||||
@@ -0,0 +1,10 @@
|
||||
-- Duration unknown until confirmed; hide in UI when NULL.
|
||||
ALTER TABLE courses
|
||||
DROP CONSTRAINT IF EXISTS courses_duration_hours_check;
|
||||
|
||||
ALTER TABLE courses
|
||||
ALTER COLUMN duration_hours DROP NOT NULL;
|
||||
|
||||
ALTER TABLE courses
|
||||
ADD CONSTRAINT courses_duration_hours_check
|
||||
CHECK (duration_hours IS NULL OR duration_hours > 0);
|
||||
@@ -0,0 +1,4 @@
|
||||
-- Position and organization on public contact / interest leads.
|
||||
ALTER TABLE registration_leads
|
||||
ADD COLUMN IF NOT EXISTS position TEXT,
|
||||
ADD COLUMN IF NOT EXISTS organization TEXT;
|
||||
Reference in new issue
Block a user