added limit methods to user, more work on post views
This commit is contained in:
@@ -14,6 +14,7 @@ class CreateUsers < ActiveRecord::Migration
|
||||
t.column :is_janitor, :boolean, :null => false, :default => false
|
||||
t.column :is_moderator, :boolean, :null => false, :default => false
|
||||
t.column :is_admin, :boolean, :null => false, :default => false
|
||||
t.column :base_upload_limit, :integer, :null => false, :default => 10
|
||||
|
||||
# Cached data
|
||||
t.column :last_logged_in_at, :datetime
|
||||
|
||||
@@ -3,7 +3,6 @@ class CreateJanitorTrials < ActiveRecord::Migration
|
||||
create_table :janitor_trials do |t|
|
||||
t.column :user_id, :integer, :null => false
|
||||
t.column :promoted_at, :datetime
|
||||
t.column :original_level, :integer, :null => false
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user