summaryrefslogtreecommitdiff
path: root/db/migrate/20111006081257_create_tenant_memberships.rb
blob: d65d82b339aa39f88fdd13e9126d1b24ea02c5de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class CreateTenantMemberships < ActiveRecord::Migration
  def change
    create_table :tenant_memberships do |t|
      t.integer :tenant_id
      t.integer :user_id
      t.string :state
      t.integer :position

      t.timestamps
    end
  end
end