-- Iteration 2 Database Schema
-- Objective: Schema changes include creating a new table for decision variables, modifying existing tables to better map decision variables, and updating configuration logic for scalar parameters and formulas.

CREATE TABLE effectiveness_scores (
  member_id INTEGER,
  event_id INTEGER,
  efficiency_score FLOAT
);

CREATE TABLE member_availability (
  member_id INTEGER,
  event_id INTEGER,
  is_available BOOLEAN
);

CREATE TABLE party_events (
  event_id INTEGER,
  Member_in_charge_ID INTEGER,
  max_members_per_event INTEGER
);

CREATE TABLE member_event_assignments (
  member_id INTEGER,
  event_id INTEGER,
  assignment BOOLEAN
);

