Sha256: 88b3ef5a21778b797b453d2837c7d540a9ad5bee9c6884e8d2f826213521ad55

Contents?: true

Size: 216 Bytes

Versions: 2

Compression:

Stored size: 216 Bytes

Contents

class CreateCustoms < ActiveRecord::Migration
  tenant :custom

  def change
    create_table :customs 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/20120823132902_create_customs.rb
active_tenant-0.0.3 spec/migrations/20120823132902_create_customs.rb