diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-04-14 12:59:00 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-04-14 12:59:00 +0300 |
| commit | b154bc7a10e46dc9fa0406996507c4fd410366da (patch) | |
| tree | d6c7a5b4e9a98bb263d7f5fbea2b7bc1918ff47f /sql/mysql/migrations/60.sql | |
| parent | 60606aaa97f80e9a4456816ff060eb499faf8b73 (diff) | |
initial attempt to remove mysql-related stuff from tt-rss
Diffstat (limited to 'sql/mysql/migrations/60.sql')
| -rw-r--r-- | sql/mysql/migrations/60.sql | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sql/mysql/migrations/60.sql b/sql/mysql/migrations/60.sql deleted file mode 100644 index 6b33e6c87..000000000 --- a/sql/mysql/migrations/60.sql +++ /dev/null @@ -1,20 +0,0 @@ -begin; - -alter table ttrss_user_entries change feed_id feed_id integer null; - -create table ttrss_archived_feeds (id integer not null primary key, - owner_uid integer not null, - title varchar(200) not null, - feed_url text not null, - site_url varchar(250) not null default '', - index(owner_uid), - foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB; - -alter table ttrss_user_entries add column orig_feed_id integer; -update ttrss_user_entries set orig_feed_id = NULL; - -alter table ttrss_user_entries add FOREIGN KEY (orig_feed_id) REFERENCES ttrss_archived_feeds(id) ON DELETE SET NULL; - -update ttrss_version set schema_version = 60; - -commit; |