3scale/porta

View on GitHub
db/migrate/20080711104817_create_features.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateFeatures < ActiveRecord::Migration
  def self.up
    create_table :features do |t|
      t.belongs_to :service
      t.string :name
      t.text :description

      t.timestamps
    end
  end

  def self.down
    drop_table :features
  end
end