Sha256: 871dd3e568959ec27885c702f184f082ff4eae01c26dd69137bdda063aa51291

Contents?: true

Size: 894 Bytes

Versions: 28

Compression:

Stored size: 894 Bytes

Contents

class CreateBridgeCacheUsers < ActiveRecord::Migration[5.0]
  def change
    return unless BridgeCache.use_internal_database
    create_table :bridge_cache_users do |t|
      t.integer :bridge_id, limit: 8
      t.string :email
      t.string :uid
      t.datetime :created_at
      t.datetime :updated_at
      t.datetime :deleted_at
      t.string :avatar_url
      t.string :first_name
      t.string :last_name
      t.string :external_id
      t.integer :domain_id, limit: 8
      t.datetime :tac_accepted_at
      t.string :tagline
      t.string :locale
      t.boolean :unsubscribed, default: false
      t.datetime :welcomed_at
      t.datetime :logged_in_at
      t.text :config
      t.string :full_name
      t.string :sortable_name
      t.string :uuid
      t.integer :sub_account_id, limit: 8
      t.datetime :hire_date
      t.boolean :hidden, default: false
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
bridge_cache-0.3.19 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.17 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.16 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.15 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.14 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.13 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.12 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.11 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.10 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.9 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.8 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.7 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.6 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.5 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.4 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.3 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.2 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.01 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.3.0 db/migrate/20170517203328_create_bridge_cache_users.rb
bridge_cache-0.2.8 db/migrate/20170517203328_create_bridge_cache_users.rb