38873-vm/db/migrations/13_repurpose_equity_fields.sql
Flatlogic Bot 9624830ffb v29
2026-02-28 19:30:05 +00:00

25 lines
746 B
SQL

-- Migration: Repurpose equity fields for co-founder matching
ALTER TABLE startups
RENAME COLUMN total_shares TO cofounder_equity_pct;
ALTER TABLE startups
MODIFY COLUMN cofounder_equity_pct VARCHAR(255); -- Change to string to allow ranges or descriptions
ALTER TABLE startups
RENAME COLUMN share_classes TO cofounder_equity_type;
ALTER TABLE startups
RENAME COLUMN founder_ownership TO cofounder_responsibilities;
ALTER TABLE startups
RENAME COLUMN investor_ownership TO desired_cofounder_experience;
ALTER TABLE startups
RENAME COLUMN esop_percentage TO cofounder_commitment;
ALTER TABLE startups
MODIFY COLUMN cofounder_commitment VARCHAR(255);
ALTER TABLE startups
RENAME COLUMN convertible_instruments TO other_partnership_details;