3scale/porta

View on GitHub
db/migrate/20120523112435_create_cms_permissions.rb

Summary

Maintainability
A
15 mins
Test Coverage
class CreateCmsPermissions < ActiveRecord::Migration
  def self.up
    create_table :cms_permissions do |t|
      t.integer :tenant_id, :limit => 8
      t.integer :account_id, :limit => 8
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :cms_permissions
  end
end