diff options
Diffstat (limited to 'db/migrate/20111006073436_create_tenants.rb')
-rw-r--r-- | db/migrate/20111006073436_create_tenants.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20111006073436_create_tenants.rb b/db/migrate/20111006073436_create_tenants.rb new file mode 100644 index 0000000..290379c --- /dev/null +++ b/db/migrate/20111006073436_create_tenants.rb @@ -0,0 +1,15 @@ +class CreateTenants < ActiveRecord::Migration + def self.up + create_table :tenants do |t| + t.string :name + t.text :description + t.string :state + t.integer :position + t.timestamps + end + end + + def self.down + drop_table :tenants + end +end |