mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 12:26:39 -06:00
- Remove priority field and sorting, switch to updated_at DESC - Add icon field to tags table - Split project description into name and short_description - Implement full CRUD for projects (create, update, delete) - Add admin stats endpoint (project counts by status)
10 lines
308 B
SQL
10 lines
308 B
SQL
-- Drop priority column and its index
|
|
DROP INDEX IF EXISTS idx_projects_priority;
|
|
ALTER TABLE projects DROP COLUMN priority;
|
|
|
|
-- Rename title to name
|
|
ALTER TABLE projects RENAME COLUMN title TO name;
|
|
|
|
-- Add short_description field
|
|
ALTER TABLE projects ADD COLUMN short_description TEXT NOT NULL DEFAULT '';
|