Removed is_admin from users

This commit is contained in:
2013-01-28 01:56:28 -05:00
parent bce916412f
commit 29cf04b6cd
2 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
class RemoveIsAdminFromUsers < ActiveRecord::Migration
def up
remove_column :users, :is_admin
end
def down
end
end

View File

@@ -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