This commit is contained in:
r888888888
2013-06-20 15:10:34 -07:00
parent 99cb177398
commit 774dadf7a5
5 changed files with 43 additions and 4 deletions

View 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

View File

@@ -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');