----SQL
CREATE SEQUENCE IF NOT EXISTS mp_votes_id_seq START 1;
CREATE TABLE IF NOT EXISTS mp_votes (
    id INTEGER DEFAULT nextval('mp_votes_id_seq'),
    motion_id INTEGER NOT NULL,
    mp_name TEXT NOT NULL,
    party TEXT,
    vote TEXT NOT NULL,
    date DATE,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY (id)
);
----END
