ZIm/crates/collab/migrations/20250816124707_make_admin_required_on_users.sql
Marshall Bowers 5620e359af
collab: Make admin column non-nullable on users table (#36307)
This PR updates the `admin` column on the `users` table to be
non-nullable.

We were already treating it like this in practice.

All rows in the production database already have a value for the `admin`
column.

Release Notes:

- N/A
2025-08-16 13:09:14 +00:00

2 lines
51 B
SQL

alter table users
alter column admin set not null;