| 146 | | if (rss_is_sql_error(RSS_SQL_ERROR_NO_ERROR)) { |
| 147 | | $updated++; |
| 148 | | rss_error("updated schema for table " . getTable('channels'), RSS_ERROR_NOTICE); |
| 149 | | } else { |
| 150 | | rss_error("Failed updating schema for table " . getTable('channels') |
| 151 | | .": " . rss_sql_error_message(), RSS_ERROR_ERROR |
| 152 | | ); |
| 153 | | } |
| 154 | | // break; - fallthrough allowed on purpose because these are added at the same time |
| 155 | | case 'c.refreshinterval': |
| 156 | | case 'refreshinterval': |
| 157 | | // refresh interval of a feed (in minutes), added in 0.5.3 |
| 158 | | rss_query('alter table ' .getTable('channels') .' add column refreshinterval int(16) not null default 60'); |