Sha256: 23125c4332469ef30906eb0034d5f2e80df75f648eb8bb45a74d642274147e72

Contents?: true

Size: 811 Bytes

Versions: 12

Compression:

Stored size: 811 Bytes

Contents

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

    create_table :bridge_cache_live_course_sessions do |t|
      t.integer :bridge_id, limit: 8
      t.datetime :start_at
      t.datetime :end_at
      t.string :location
      t.integer :seats
      t.integer :live_course_id, limit: 8
      t.datetime :created_at
      t.datetime :updated_at
      t.integer :registered_count
      t.datetime :concluded_at
      t.datetime :deleted_at
      t.string :notes
      t.integer :domain_id, limit: 8
      t.integer :sub_account_id, limit: 8
      t.integer :present_count
      t.string :title
      t.integer :parent_id, limit: 8
      t.boolean :multi_part
      t.string :timezone
      t.datetime :published_at
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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