Sha256: d383569ecc98c789e5bc1b5c26bbab69d94bdcd48eedb856fe4ed7b6e5b61525

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 Bytes

Contents

class CreateEcmCoursesCourseDates < ActiveRecord::Migration[4.2]
  def change
    create_table :ecm_courses_course_dates do |t|
      t.timestamp :start_at
      t.timestamp :end_at
      t.text :description

      # references
      t.integer :ecm_courses_course_id

      #      # friendly id
      #      t.string :slug

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ecm_courses2-1.1.4 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-1.1.3 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-1.1.2 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-1.1.1 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-1.1.0 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-1.0.3 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-1.0.2 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-1.0.1 db/migrate/003_create_ecm_courses_course_dates.rb