- Add on_delete: :restrict to users.role_id foreign key - Update roles.id to use uuid_generate_v7() default - Regenerate resource snapshots
Create roles table and add role_id to users table with indexes and foreign key constraints.