From 7bfc99bb7605bcafbd3ebb9067560dc4acf01ca6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 14 Jan 2017 11:49:16 -0500 Subject: [PATCH] Rollback Mysql field size to the original value --- app/schemas/mysql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/schemas/mysql.php b/app/schemas/mysql.php index 3e8988d..a7d44ed 100644 --- a/app/schemas/mysql.php +++ b/app/schemas/mysql.php @@ -34,8 +34,8 @@ function version_1(PDO $pdo) $pdo->exec("CREATE TABLE feeds ( id BIGINT AUTO_INCREMENT PRIMARY KEY, user_id INT NOT NULL, - feed_url VARCHAR(512) NOT NULL, - site_url VARCHAR(512), + feed_url VARCHAR(255) NOT NULL, + site_url VARCHAR(255), title VARCHAR(255) NOT NULL, expiration BIGINT DEFAULT 0, last_checked BIGINT DEFAULT 0,