Sha256: b9ec588cd20a0606ab38287736372252ebb69f20a2b500b3211a88a0fccd9464

Contents?: true

Size: 290 Bytes

Versions: 4

Compression:

Stored size: 290 Bytes

Contents

class CreateDqAdminArticles < ActiveRecord::Migration["#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"]
  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

4 entries across 4 versions & 1 rubygems

Version Path
dq_admin-0.4.3 db/migrate/20180318071018_create_dq_admin_articles.rb
dq_admin-0.4.2 db/migrate/20180318071018_create_dq_admin_articles.rb
dq_admin-0.4.0 db/migrate/20180318071018_create_dq_admin_articles.rb
dq_admin-0.3.0 db/migrate/20180318071018_create_dq_admin_articles.rb