Sha256: d0ea929714c05a621095d3f60301ae8affa6d96b1d4422e7212ef76826547197

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

class CreateEcmStaffPeople < ActiveRecord::Migration[4.2]
  def change
    create_table :ecm_staff_people do |t|
      t.string :prefix
      t.string :firstname
      t.string :lastname
      t.date :birthdate
      t.text :description

      # acts as list
      t.integer :position

      # acts as markup
      t.string :markup_language

      # friendly id
      t.string :slug

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_staff2-3.1.1 db/migrate/005_create_ecm_staff_people.rb
ecm_staff2-3.1.0 db/migrate/005_create_ecm_staff_people.rb
ecm_staff2-3.0.2 db/migrate/005_create_ecm_staff_people.rb
ecm_staff2-3.0.1 db/migrate/005_create_ecm_staff_people.rb
ecm_staff2-3.0.0 db/migrate/005_create_ecm_staff_people.rb