e78be1f3 Jonni Liljamo
1 year, 11 months ago
1 2 3 4 5 6 7 8
-- Your SQL goes here -- Normally wouldn't need a primary key, but diesel requires it. CREATE TABLE users_roles ( id SERIAL PRIMARY KEY, user_id INTEGER REFERENCES users(id) NOT NULL, role_id INTEGER REFERENCES roles(id) NOT NULL );