Sha256: 3437bc98c992c33dd9029629aabad1ab6448a4929dbad5bd88d12df6842cc09b

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

class CreateFoxynewsFeaturedItems < ActiveRecord::Migration
  def change
    create_table :foxynews_featured_items do |t|
      t.string :title
      t.integer :article
      t.boolean :featured
      t.datetime :created_at
      t.datetime :updated_at
    end
    add_index :foxynews_featured_items, :title
    add_index :foxynews_featured_items, :article
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foxynews-1.0.1 db/migrate/20150915120000_create_foxynews_featured_items.rb
foxynews-1.0.0 db/migrate/20150915120000_create_foxynews_featured_items.rb