Commit 6123968
Fix database issues and optimize seed structure
- Fix PostgreSQL initialization error (cast -> movie_cast column rename)
- Fix broken Moonlight movie image URL
- Add missing database columns (trailer_url, youtube_trailer_id, categories, video_url)
- Consolidate 9 scattered seed files into single optimized movies_complete.sql
- Add categories column for proper movie categorization instead of hardcoded filtering
- Update frontend to use new categories column for efficient filtering
- Update seed database automation task to use optimized structure
- Remove obsolete seed files and update documentation references
- Ensure all 5 homepage categories display correctly with proper data
Database now contains 20 movies with complete metadata across all categories:
- Trending: 4 movies
- Popular: 4 movies
- Sci-Fi: 4 movies
- Award Winners: 4 movies
- Modern Blockbusters: 4 movies
Co-authored-by: Ona <no-reply@ona.com>1 parent 7ec6532 commit 6123968
File tree
14 files changed
+403
-713
lines changed- .gitpod
- database/main
- migrations
- seeds
- frontend/src
14 files changed
+403
-713
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
162 | 158 | | |
163 | 159 | | |
164 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments