fixes #1728
This commit is contained in:
6
db/migrate/20130620215658_add_is_locked_to_tags.rb
Normal file
6
db/migrate/20130620215658_add_is_locked_to_tags.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddIsLockedToTags < ActiveRecord::Migration
|
||||
def change
|
||||
execute "set statement_timeout = 0"
|
||||
add_column :tags, :is_locked, :boolean, :null => false, :default => false
|
||||
end
|
||||
end
|
||||
@@ -2488,7 +2488,8 @@ CREATE TABLE tags (
|
||||
related_tags text,
|
||||
related_tags_updated_at timestamp without time zone,
|
||||
created_at timestamp without time zone NOT NULL,
|
||||
updated_at timestamp without time zone NOT NULL
|
||||
updated_at timestamp without time zone NOT NULL,
|
||||
is_locked boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -6421,4 +6422,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130506154136');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130606224559');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130618230158');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130618230158');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130620215658');
|
||||
Reference in New Issue
Block a user