Sha256: 6d34a0afeccd81666d8fae7dcab8d06fb5404b121cc95a6763cad50463a1e770
Contents?: true
Size: 505 Bytes
Versions: 3
Compression:
Stored size: 505 Bytes
Contents
class CreateOrganizations < ActiveRecord::Migration def change create_table :organizations do |t| t.string :name t.text :description t.integer :subdomain_id t.string :country t.string :state t.string :address t.string :postal_code t.string :code t.string :city t.boolean :m_to_s, :default => true t.boolean :mul_schedule, :default => false t.timestamps end add_index :organizations, :code, :unique => true end end
Version data entries
3 entries across 3 versions & 1 rubygems