1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-05 07:37:25 +02:00

Describe required changes to MySQL schema in migration guide

This commit is contained in:
Marco
2017-07-30 14:41:28 +02:00
parent 0e969ccd8d
commit c118116a52

View File

@@ -23,7 +23,8 @@ $ composer update delight-im/auth
```sql
ALTER TABLE users
ADD COLUMN roles_mask INT(10) UNSIGNED NOT NULL DEFAULT 0 AFTER verified;
ADD COLUMN roles_mask INT(10) UNSIGNED NOT NULL DEFAULT 0 AFTER verified,
ADD COLUMN resettable TINYINT(1) UNSIGNED NOT NULL DEFAULT 1 AFTER verified;
```
* The SQLite database schema has changed. Use the statement below to update your database: