From d6bc8c64921fb5a3c49012cfd980c3c803b155e0 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 29 Jul 2017 18:01:51 +0200 Subject: [PATCH] Describe required changes to SQLite schema in migration guide --- Migration.md | 7 +++++++ 1 file changed, 7 insertions(+) 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`.