This commit is contained in:
albert
2013-03-17 23:13:47 -04:00
parent 5153c376f1
commit a52eb3ddc2
7 changed files with 19 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
class AddEnablePostSeqNavigationToUsers < ActiveRecord::Migration
def change
execute "set statement_timeout = 0"
add_column :users, :enable_sequential_post_navigation, :boolean, :null => false, :default => true
end
end

View File

@@ -2602,7 +2602,8 @@ CREATE TABLE users (
bcrypt_password_hash text,
enable_post_navigation boolean DEFAULT true NOT NULL,
new_post_navigation_layout boolean DEFAULT true NOT NULL,
enable_privacy_mode boolean DEFAULT false NOT NULL
enable_privacy_mode boolean DEFAULT false NOT NULL,
enable_sequential_post_navigation boolean DEFAULT true NOT NULL
);
@@ -6253,4 +6254,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130308204213');
INSERT INTO schema_migrations (version) VALUES ('20130318002652');
INSERT INTO schema_migrations (version) VALUES ('20130318012517');
INSERT INTO schema_migrations (version) VALUES ('20130318012517');
INSERT INTO schema_migrations (version) VALUES ('20130318030619');