fixes #959
This commit is contained in:
6
db/migrate/20130322173202_add_per_page_to_users.rb
Normal file
6
db/migrate/20130322173202_add_per_page_to_users.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddPerPageToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
execute("set statement_timeout = 0")
|
||||
add_column :users, :per_page, :integer, :null => false, :default => 20
|
||||
end
|
||||
end
|
||||
@@ -2602,7 +2602,8 @@ CREATE TABLE users (
|
||||
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_sequential_post_navigation boolean DEFAULT true NOT NULL
|
||||
enable_sequential_post_navigation boolean DEFAULT true NOT NULL,
|
||||
per_page integer DEFAULT 20 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -6266,4 +6267,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130320070700');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130321144736');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130322162059');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130322162059');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130322173202');
|
||||
Reference in New Issue
Block a user