Sha256: 7eb6d439ebae83bad2606399f95ba768864809c0bf09ff3e426ab21e12cd6db2

Contents?: true

Size: 548 Bytes

Versions: 12

Compression:

Stored size: 548 Bytes

Contents

class CreateLiveCourseEnrollments < ActiveRecord::Migration[5.1]
  def change
    return unless BridgeCache.use_internal_database

    create_table :bridge_cache_live_course_enrollments do |t|
      t.integer :bridge_id, limit: 8
      t.integer :live_course_id, limit: 8
      t.integer :user_id, limit: 8
      t.datetime :created_at
      t.datetime :updated_at
      t.integer :state
      t.datetime :deleted_at
      t.integer :sources_count
      t.datetime :expires_at
      t.boolean :inactive
      t.datetime :renew_by
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bridge_cache-0.4.7 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.4.6 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.4.5 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.4.4 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.4.3 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.4.2 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.4.1 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.3.24 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.3.23 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.3.22 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.3.21 db/migrate/20171019195503_create_live_course_enrollments.rb
bridge_cache-0.3.20 db/migrate/20171019195503_create_live_course_enrollments.rb