Sha256: 536918530cdb4a503c55d448ddda9561a41f7a485dbb51c97267d06f655532f2

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

class CreateEcmStaffOrganisations < ActiveRecord::Migration[4.2]
  def change
    create_table :ecm_staff_organisations do |t|
      t.string :name
      t.text :description

      # 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/001_create_ecm_staff_organisations.rb
ecm_staff2-3.1.0 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff2-3.0.2 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff2-3.0.1 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff2-3.0.0 db/migrate/001_create_ecm_staff_organisations.rb