1 PRAGMA foreign_keys=ON;
    2 
    3 ALTER TABLE sess ADD COLUMN userid INTEGER NOT NULL REFERENCES user(id);
    4