Rollback Mysql field size to the original value

This commit is contained in:
Frederic Guillot 2017-01-14 11:49:16 -05:00
parent e3ed06ce11
commit 7bfc99bb76

View File

@ -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,