test/dummy/db/schema.rb in opro-0.0.1.pre1.0.2 vs test/dummy/db/schema.rb in opro-0.0.1
- old
+ new
@@ -9,16 +9,17 @@
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20120408165730) do
+ActiveRecord::Schema.define(:version => 20120514060323) do
create_table "opro_access_grants", :force => true do |t|
t.string "code"
t.string "access_token"
t.string "refresh_token"
+ t.text "permissions"
t.datetime "access_token_expires_at"
t.integer "user_id"
t.integer "application_id"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
@@ -26,12 +27,13 @@
create_table "opro_client_applications", :force => true do |t|
t.string "name"
t.string "app_id"
t.string "app_secret"
+ t.text "permissions"
t.integer "user_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "users", :force => true do |t|
t.string "email", :default => "", :null => false
t.string "encrypted_password", :default => "", :null => false