Change author column type
This commit is contained in:
parent
d6f358536c
commit
431b8341be
@ -58,7 +58,7 @@ function version_1(PDO $pdo)
|
|||||||
bookmark INTEGER DEFAULT 0,
|
bookmark INTEGER DEFAULT 0,
|
||||||
url TEXT NOT NULL,
|
url TEXT NOT NULL,
|
||||||
title TEXT NOT NULL,
|
title TEXT NOT NULL,
|
||||||
author VARCHAR(255),
|
author TEXT,
|
||||||
content TEXT,
|
content TEXT,
|
||||||
updated BIGINT,
|
updated BIGINT,
|
||||||
enclosure_url TEXT,
|
enclosure_url TEXT,
|
||||||
|
@ -137,7 +137,7 @@ function copy_items(PDO $db, $user_id, array $feed_ids, array $items)
|
|||||||
$item['bookmark'] ?: 0,
|
$item['bookmark'] ?: 0,
|
||||||
$item['url'],
|
$item['url'],
|
||||||
$item['title'],
|
$item['title'],
|
||||||
mb_strlen($item['author']) < 255 ? $item['author'] : '',
|
$item['author'],
|
||||||
$item['content'],
|
$item['content'],
|
||||||
$item['updated'] ?: 0,
|
$item['updated'] ?: 0,
|
||||||
$item['enclosure'],
|
$item['enclosure'],
|
||||||
|
Loading…
Reference in New Issue
Block a user