Sha256: 26f1aa7dd4b28a3fe1809c24d6831b32f50ded5e843a79ca328df10f6dabb2f8

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

class CreatePostTypeVersion < ActiveRecord::Migration[5.0]
  def change
    create_table :pulitzer_post_type_versions do |t|
      t.references :pulitzer_post_type, index: true
      t.integer :version_number, default: 1, null: false
      t.string :status, default: 'preview', null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulitzer-0.15.0 db/migrate/20170515230633_create_post_type_version.rb