Sha256: beae1e5197e69743f260da837dbf43dd2f518ff2ad59c55679ed7bc383770b39

Contents?: true

Size: 626 Bytes

Versions: 12

Compression:

Stored size: 626 Bytes

Contents

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

    create_table :bridge_cache_live_courses do |t|
      t.integer :bridge_id, limit: 8
      t.string :title
      t.string :description
      t.datetime :created_at
      t.datetime :updated_at
      t.integer :user_id, limit: 8
      t.integer :domain_id, limit: 8
      t.datetime :deleted_at
      t.integer :sessions_count
      t.integer :enrollments_count
      t.integer :attachments_count
      t.integer :sub_account_id, limit: 8
      t.integer :external_course_id, limit: 8
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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