1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:35:55 +00:00

add text_languagedetect to guess article language for better hyphenation

(bump schema)
This commit is contained in:
Andrew Dolgov
2013-07-31 10:30:14 +04:00
parent f035e6dc82
commit 6b4617970f
13 changed files with 2498 additions and 6 deletions

View File

@@ -163,6 +163,7 @@ create table ttrss_entries (id integer not null primary key auto_increment,
date_updated datetime not null,
num_comments integer not null default 0,
plugin_data longtext,
lang varchar(2),
comments varchar(250) not null default '',
author varchar(250) not null default '') ENGINE=InnoDB DEFAULT CHARSET=UTF8;
@@ -301,7 +302,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
insert into ttrss_version values (121);
insert into ttrss_version values (122);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,

View File

@@ -144,6 +144,7 @@ create table ttrss_entries (id serial not null primary key,
num_comments integer not null default 0,
comments varchar(250) not null default '',
plugin_data text,
lang varchar(2),
author varchar(250) not null default '');
create index ttrss_entries_guid_index on ttrss_entries(guid);
@@ -259,7 +260,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
create table ttrss_version (schema_version int not null);
insert into ttrss_version values (121);
insert into ttrss_version values (122);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,

View File

@@ -0,0 +1,7 @@
begin;
alter table ttrss_entries add column lang varchar(2);
update ttrss_version set schema_version = 122;
commit;

View File

@@ -0,0 +1,7 @@
begin;
alter table ttrss_entries add column lang varchar(2);
update ttrss_version set schema_version = 122;
commit;