test/dummy/db/schema.rb in opro-0.2.0 vs test/dummy/db/schema.rb in opro-0.2.1.pre
- old
+ new
@@ -9,11 +9,11 @@
# 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 => 20120514060323) do
+ActiveRecord::Schema.define(:version => 20120618085752) do
create_table "opro_access_grants", :force => true do |t|
t.string "code"
t.string "access_token"
t.string "refresh_token"
@@ -23,10 +23,32 @@
t.integer "application_id"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
+ create_table "opro_auth_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
+ end
+
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
+ end
+
+ create_table "opro_client_apps", :force => true do |t|
t.string "name"
t.string "app_id"
t.string "app_secret"
t.text "permissions"
t.integer "user_id"