Sha256: 632fcbea0dfeba87ef4910821c8150906fc88abf5937b763c5d25912a1aa81a8

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

class CreateDqAdminArticles < ActiveRecord::Migration[5.1]
  def change
    create_table :dq_admin_articles do |t|
      t.string :title
      t.text :content
      t.string :author
      t.string :image

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dq_admin-0.2.0 db/migrate/20180318071018_create_dq_admin_articles.rb
dq_admin-0.1.0 db/migrate/20180318071018_create_dq_admin_articles.rb