diff --git a/Migration.md b/Migration.md index 65aa0e5..17e5bc7 100644 --- a/Migration.md +++ b/Migration.md @@ -17,6 +17,13 @@ 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 `Base64` class is now an external module and has been moved from the namespace `Delight\Auth` to the namespace `Delight\Base64`.