Class: CreateTenants
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateTenants
- Defined in:
- lib/generators/landagent/templates/create_tenants.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/generators/landagent/templates/create_tenants.rb', line 2 def change create_table :tenants do |t| t.string :subdomain t.string :name t.string :description t.string :code t.string :locale t. end end |