Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
articular / db / migrate / 01_create_articles.rb
Size: Mime:
class CreateArticles < ActiveRecord::Migration[5.0]
  def change
    create_table :articular_articles do |t|
      t.string :title
      t.text :excerpt
      t.text :body
      t.datetime :published_at, :index => true
      t.string :state, :null => false,
                       :default => 'published',
                       :index => true
      t.string :slug, :index => true
      t.string :type, :index => true
      t.string :meta_description, :text

      t.timestamps null: false
    end
  end
end