Sha256: a738e7440f4a3b29ed5be5c93739652338890effb72c2eadeabdc28e08021c28

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

class CreateFeatures < ActiveRecord::Migration
  def self.up
    create_table :features do |t|
      t.text :content
      t.string :featured_type
      t.string :featured_id
    end
  end

  def self.down
    drop_table :features
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feature-rich-0.2.0 spec/db/migrate/002_create_features.rb