openspec: laravel-admin change — Filament admin (users/tags/products/orders/dashboard) on shared Postgres
This commit is contained in:
12
openspec/changes/laravel-admin/specs/database/spec.md
Normal file
12
openspec/changes/laravel-admin/specs/database/spec.md
Normal file
@@ -0,0 +1,12 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: users.is_admin column
|
||||
The `users` table SHALL include an `is_admin` boolean column, NOT NULL default FALSE, added idempotently.
|
||||
|
||||
#### Scenario: Fresh database
|
||||
- **WHEN** `db/schema.sql` is applied to an empty database
|
||||
- **THEN** `users.is_admin` exists defaulting to FALSE
|
||||
|
||||
#### Scenario: Existing database
|
||||
- **WHEN** `db/schema.sql` is re-applied to an existing database
|
||||
- **THEN** the column is added without error
|
||||
Reference in New Issue
Block a user