Sha256: 21016cc7112878f803301cbe534cffa841d01f697fb541a8ea4e454d2463592b

Contents?: true

Size: 224 Bytes

Versions: 2

Compression:

Stored size: 224 Bytes

Contents

class CreateOtherTenants < ActiveRecord::Migration
  tenant :all

  def change
    create_table :other_tenants do |t|
      t.string :key, null: false
      t.string :value, null: false

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_tenant-0.0.4 spec/migrations/20120823132856_create_other_tenants.rb
active_tenant-0.0.3 spec/migrations/20120823132856_create_other_tenants.rb