Sha256: 1b6aeed26b520343850ad82a10235ad800f116533435acc9cffa07f33584d809

Contents?: true

Size: 457 Bytes

Versions: 12

Compression:

Stored size: 457 Bytes

Contents

class CreateAffiliatedSubAccounts < ActiveRecord::Migration[5.1]
  def change
    return unless BridgeCache.use_internal_database

    create_table :bridge_cache_affiliated_sub_accounts do |t|
      t.integer :bridge_id
      t.integer :item_id
      t.string :item_type
      t.integer :domain_id
      t.datetime :deleted_at
      t.datetime :created_at
      t.datetime :updated_at
      t.integer :state
      t.integer :sources_count
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bridge_cache-0.4.7 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.4.6 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.4.5 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.4.4 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.4.3 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.4.2 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.4.1 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.3.24 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.3.23 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.3.22 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.3.21 db/migrate/20171017211850_create_affiliated_sub_accounts.rb
bridge_cache-0.3.20 db/migrate/20171017211850_create_affiliated_sub_accounts.rb