Change author column type

This commit is contained in:
Frederic Guillot 2016-12-26 21:06:03 -05:00
parent d6f358536c
commit 431b8341be
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ function version_1(PDO $pdo)
bookmark INTEGER DEFAULT 0,
url TEXT NOT NULL,
title TEXT NOT NULL,
author VARCHAR(255),
author TEXT,
content TEXT,
updated BIGINT,
enclosure_url TEXT,

View File

@ -137,7 +137,7 @@ function copy_items(PDO $db, $user_id, array $feed_ids, array $items)
$item['bookmark'] ?: 0,
$item['url'],
$item['title'],
mb_strlen($item['author']) < 255 ? $item['author'] : '',
$item['author'],
$item['content'],
$item['updated'] ?: 0,
$item['enclosure'],