From b24979ae2607fce0617ded8af9cff3563a91a7d1 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 7 Aug 2017 23:18:53 +0200 Subject: [PATCH] Describe required changes to MySQL schema in migration guide --- Migration.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Migration.md b/Migration.md index 55144bd..69cc0f2 100644 --- a/Migration.md +++ b/Migration.md @@ -38,6 +38,17 @@ $ composer update delight-im/auth ALTER TABLE users_confirmations ADD INDEX user_id (user_id ASC); + + DROP TABLE users_throttling; + + CREATE TABLE users_throttling ( + bucket varchar(44) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, + tokens float unsigned NOT NULL, + replenished_at int(10) unsigned NOT NULL, + expires_at int(10) unsigned NOT NULL, + PRIMARY KEY (bucket), + KEY expires_at (expires_at) + ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; ``` * The SQLite database schema has changed. Use the statement below to update your database: