spec/dummy/db/schema.rb in maestrano-connector-rails-2.0.0.pre.RC12 vs spec/dummy/db/schema.rb in maestrano-connector-rails-2.0.0.pre.RC13
- old
+ new
@@ -36,11 +36,10 @@
create_table "organizations", force: :cascade do |t|
t.string "provider"
t.string "uid"
t.string "name"
- t.string "org_uid"
t.string "tenant"
t.string "oauth_provider"
t.string "oauth_uid"
t.string "oauth_name"
t.string "encrypted_oauth_token"
@@ -49,15 +48,18 @@
t.string "synchronized_entities"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.boolean "sync_enabled", default: false
t.datetime "date_filtering_limit"
+ t.boolean "historical_data", default: false
t.string "encrypted_oauth_token_iv"
t.string "encrypted_oauth_token_salt"
t.string "encrypted_refresh_token_iv"
t.string "encrypted_refresh_token_salt"
+ t.string "org_uid"
end
+ add_index "organizations", ["oauth_uid"], name: "index_organizations_on_oauth_uid", unique: true
add_index "organizations", ["uid", "tenant"], name: "orga_uid_index"
create_table "synchronizations", force: :cascade do |t|
t.integer "organization_id"
t.string "status"