Removed is_admin from users
This commit is contained in:
8
db/migrate/20130128065331_remove_is_admin_from_users.rb
Normal file
8
db/migrate/20130128065331_remove_is_admin_from_users.rb
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
class RemoveIsAdminFromUsers < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
remove_column :users, :is_admin
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# It's strongly recommended to check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(:version => 20130128051658) do
|
ActiveRecord::Schema.define(:version => 20130128065331) do
|
||||||
|
|
||||||
create_table "categories", :force => true do |t|
|
create_table "categories", :force => true do |t|
|
||||||
t.string "title"
|
t.string "title"
|
||||||
@@ -76,7 +76,6 @@ ActiveRecord::Schema.define(:version => 20130128051658) do
|
|||||||
t.integer "topics_count", :default => 0
|
t.integer "topics_count", :default => 0
|
||||||
t.integer "posts_count", :default => 0
|
t.integer "posts_count", :default => 0
|
||||||
t.string "username"
|
t.string "username"
|
||||||
t.boolean "is_admin"
|
|
||||||
t.integer "role_id"
|
t.integer "role_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user