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
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ function version_1(PDO $pdo)
$pdo->exec("CREATE TABLE feeds ( $pdo->exec("CREATE TABLE feeds (
id BIGINT AUTO_INCREMENT PRIMARY KEY, id BIGINT AUTO_INCREMENT PRIMARY KEY,
user_id INT NOT NULL, user_id INT NOT NULL,
feed_url VARCHAR(512) NOT NULL, feed_url VARCHAR(255) NOT NULL,
site_url VARCHAR(512), site_url VARCHAR(255),
title VARCHAR(255) NOT NULL, title VARCHAR(255) NOT NULL,
expiration BIGINT DEFAULT 0, expiration BIGINT DEFAULT 0,
last_checked BIGINT DEFAULT 0, last_checked BIGINT DEFAULT 0,