tt-rss/schema/versions/pgsql/35.sql

3 lines
180 B
SQL

create function SUBSTRING_FOR_DATE(timestamp, int, int) RETURNS text AS 'SELECT SUBSTRING(CAST($1 AS text), $2, $3)' LANGUAGE 'sql';
update ttrss_version set schema_version = 35;