spec/dummy/db/schema.rb in maestrano-connector-rails-1.0.4 vs spec/dummy/db/schema.rb in maestrano-connector-rails-1.1.0
- 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 that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20160427120963) do
+ActiveRecord::Schema.define(version: 20160614152139) do
create_table "id_maps", force: :cascade do |t|
t.string "connec_id"
t.string "connec_entity"
t.string "external_id"
@@ -40,16 +40,21 @@
t.string "name"
t.string "tenant"
t.string "oauth_provider"
t.string "oauth_uid"
t.string "oauth_name"
- t.string "oauth_token"
- t.string "refresh_token"
+ t.string "encrypted_oauth_token"
+ t.string "encrypted_refresh_token"
t.string "instance_url"
t.string "synchronized_entities"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.boolean "sync_enabled", default: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.boolean "sync_enabled", default: false
+ t.datetime "date_filtering_limit"
+ t.string "encrypted_oauth_token_iv"
+ t.string "encrypted_oauth_token_salt"
+ t.string "encrypted_refresh_token_iv"
+ t.string "encrypted_refresh_token_salt"
end
add_index "organizations", ["uid", "tenant"], name: "orga_uid_index"
create_table "synchronizations", force: :cascade do |t|