Sha256: 25180f72b49f742ba06175476a5deb16d58c78bf08ac75fe77604ca29c803993

Contents?: true

Size: 290 Bytes

Versions: 2

Compression:

Stored size: 290 Bytes

Contents

class CreateExpositionPosters < ActiveRecord::Migration[5.1]
  def change
    create_table :exposition_posts do |t|
      t.string :title
      t.text :body
      t.boolean :published, null: false, default: false
      t.date :published_at

      t.timestamps null: false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exposition-0.0.5.7.pre.alpha db/migrate/20160106220615_create_exposition_posters.rb
exposition-0.0.5.6.pre.alpha db/migrate/20160106220615_create_exposition_posters.rb