1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-02 14:17:26 +02:00

Describe required changes to SQLite schema in migration guide

This commit is contained in:
Marco
2017-07-29 18:01:51 +02:00
parent b577322939
commit d6bc8c6492

View File

@@ -17,6 +17,13 @@
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;
``` ```
* The SQLite database schema has changed. Use the statement below to update your database:
```sql
ALTER TABLE users
ADD COLUMN "roles_mask" INTEGER NOT NULL CHECK ("roles_mask" >= 0) DEFAULT "0";
```
* The outputs produced by the `Base64` class are not compatible with those from previous versions anymore. * The outputs produced by the `Base64` class are not compatible with those from previous versions anymore.
* The `Base64` class is now an external module and has been moved from the namespace `Delight\Auth` to the namespace `Delight\Base64`. * The `Base64` class is now an external module and has been moved from the namespace `Delight\Auth` to the namespace `Delight\Base64`.