Added option to make favorite groups public
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class AddIsPublicToFavoriteGroups < ActiveRecord::Migration
|
||||
def change
|
||||
FavoriteGroup.without_timeout do
|
||||
add_column :favorite_groups, :is_public, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1044,7 +1044,8 @@ CREATE TABLE favorite_groups (
|
||||
post_ids text DEFAULT ''::text NOT NULL,
|
||||
post_count integer DEFAULT 0 NOT NULL,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone
|
||||
updated_at timestamp without time zone,
|
||||
is_public boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -7530,3 +7531,5 @@ INSERT INTO schema_migrations (version) VALUES ('20171106075030');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20171127195124');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20171219001521');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user