fixes #889
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class ChangeTagSubscriptionTagQueryType < ActiveRecord::Migration
|
||||
def up
|
||||
execute "alter table tag_subscriptions alter column tag_query type text"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "alter table tag_subscriptions alter column tag_query type varchar(255)"
|
||||
end
|
||||
end
|
||||
@@ -2393,7 +2393,7 @@ CREATE TABLE tag_subscriptions (
|
||||
id integer NOT NULL,
|
||||
creator_id integer NOT NULL,
|
||||
name character varying(255) NOT NULL,
|
||||
tag_query character varying(255) NOT NULL,
|
||||
tag_query text NOT NULL,
|
||||
post_ids text NOT NULL,
|
||||
is_public boolean DEFAULT true NOT NULL,
|
||||
last_accessed_at timestamp without time zone,
|
||||
@@ -6256,4 +6256,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130318012517');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130318030619');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130318031705');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130318031705');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130318231740');
|
||||
Reference in New Issue
Block a user