Sha256: 12f4632756851c036f7dda4c7a5ee1cb444f38eff6f6bdde7d6c9cf14631d687

Contents?: true

Size: 305 Bytes

Versions: 7

Compression:

Stored size: 305 Bytes

Contents

class CreateEcmStaffOrganisations < ActiveRecord::Migration
  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

7 entries across 7 versions & 2 rubygems

Version Path
ecm_staff2-2.0.0 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff2-1.0.0 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff2-0.0.3 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff2-0.0.2 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff2-0.0.1 db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff-0.0.2.pre db/migrate/001_create_ecm_staff_organisations.rb
ecm_staff-0.0.1.pre db/migrate/001_create_ecm_staff_organisations.rb