Sha256: 44db6f7604ca865cd04f5ff8487d3931a704703f4d9b2bcf151fe6092ac9ff98

Contents?: true

Size: 356 Bytes

Versions: 8

Compression:

Stored size: 356 Bytes

Contents

class CreateEcmCoursesCourseDates < ActiveRecord::Migration
  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.0.0 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-0.2.4 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-0.2.3 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-0.2.2 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-0.2.1 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-0.2.0 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-0.1.0 db/migrate/003_create_ecm_courses_course_dates.rb
ecm_courses2-0.0.1 db/migrate/003_create_ecm_courses_course_dates.rb