Sha256: e328c053128e6e5706fe1ad1596915d78436aaf4bdb3974e70be0598feff0fd0

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 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.2 spec/migrations/20120823132856_create_other_tenants.rb
active_tenant-0.0.1 spec/migrations/20120823132856_create_other_tenants.rb