Skip to content

Commit

Permalink
Options column for feeds.
Browse files Browse the repository at this point in the history
  • Loading branch information
benubois committed Aug 22, 2016
1 parent d53d24e commit 5261b3d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrate/20160822194302_add_options_to_feeds.rb
@@ -0,0 +1,5 @@
class AddOptionsToFeeds < ActiveRecord::Migration
def change
add_column :feeds, :options, :json
end
end
5 changes: 4 additions & 1 deletion db/structure.sql
Expand Up @@ -372,7 +372,8 @@ CREATE TABLE feeds (
host text,
self_url text,
feed_type integer DEFAULT 0,
active boolean DEFAULT true
active boolean DEFAULT true,
options json
);


Expand Down Expand Up @@ -2064,3 +2065,5 @@ INSERT INTO schema_migrations (version) VALUES ('20160709063934');

INSERT INTO schema_migrations (version) VALUES ('20160817165958');

INSERT INTO schema_migrations (version) VALUES ('20160822194302');

0 comments on commit 5261b3d

Please sign in to comment.