Sha256: 362a0eb16956c9de508f73217e09e7b84ce74512bb7f6e853ad394c8808cbd92

Contents?: true

Size: 601 Bytes

Versions: 60

Compression:

Stored size: 601 Bytes

Contents

#
# AUTO GENERATED MIGRATION
# This migration was auto generated by the CanvasSync Gem.
# You can add new columns to this table, but removing or
# re-naming ones created here may break Canvas Syncing.
#


class CreateTerms < ActiveRecord::Migration[5.1]
  def change
    create_table :terms do |t|
      t.integer :canvas_term_id, null: false
      t.string :name
      t.datetime :start_at
      t.datetime :end_at
      t.string :workflow_state
      t.integer :grading_period_group_id
      t.string :sis_id

      t.timestamps
    end
    add_index :terms, :canvas_term_id, unique: true
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
canvas_sync-0.9.4 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.9.3 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.9.2 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.9.1 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.9.0 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.8.4 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.8.3 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.8.2 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.8.1 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.8.0 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.7.3 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.7.2 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.7.1 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.7.0 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.6.4 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.6.3 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.6.2 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.6.1 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.6.0 spec/dummy/db/migrate/20170906193506_create_terms.rb
canvas_sync-0.5.4 spec/dummy/db/migrate/20170906193506_create_terms.rb