mhenrixon/sidekiq-unique-jobs

View on GitHub
myapp/db/migrate/20160724111322_create_posts.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class CreatePosts < ActiveRecord::Migration[5.0]
  def change
    create_table :posts do |t|
      t.string :title
      t.text :body
      t.string :excerpt
      t.integer :read_count

      t.timestamps
    end
  end
end