Sha256: c7f625087a05102872471f3846c8e646cc73e2946aab7ada9c36225db5a7b9d9

Contents?: true

Size: 393 Bytes

Versions: 22

Compression:

Stored size: 393 Bytes

Contents

# This migration comes from fuel (originally 20140122011655)
class CreateFuelPosts < ActiveRecord::Migration
  def change
    create_table :fuel_posts do |t|
      t.string :tag
      t.string :author
      t.text :content
      t.string :title
      t.string :slug
      t.boolean :published, default: true

      t.timestamps
    end
    add_index :fuel_posts, :slug, unique: true
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
fuel-0.4.10 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.9 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.8 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.7 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.6 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.5 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.4 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.3 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.2 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.4.1 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.3.34 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.3.33 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.3.32 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.3.31 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.3.30 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.3.29 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.3.28 spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
fuel-0.2.5 test/dummy/db/migrate/20140123225741_create_fuel_posts.fuel.rb
fuel-0.2.4 test/dummy/db/migrate/20140123225741_create_fuel_posts.fuel.rb
fuel-0.2.3 test/dummy/db/migrate/20140123225741_create_fuel_posts.fuel.rb