Sha256: 20509a71d5d7fb97fa621b6a96b4043f8bed23ff779697163ab5ffdcee4519ea

Contents?: true

Size: 593 Bytes

Versions: 142

Compression:

Stored size: 593 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_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_id, unique: true
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
canvas_sync-0.22.9 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.8 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.6 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.5 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.4 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.3 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.2 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.1 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta8 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta7 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta6 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta5 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta4 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta3 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta2 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.22.0.beta1 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.21.1 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.21.1.beta1 spec/dummy/db/migrate/20190702203623_create_terms.rb
canvas_sync-0.21.0 spec/dummy/db/migrate/20190702203623_create_terms.rb