Sha256: da9876e9b22d6c36fc43c79545e5eb05708f30ee5c0472c7c05de33191be0fd0

Contents?: true

Size: 638 Bytes

Versions: 81

Compression:

Stored size: 638 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 CreateUserObservers < ActiveRecord::Migration[5.1]
  def change
    create_table :user_observers do |t|
      t.bigint :observing_user_id
      t.bigint :observed_user_id
      t.string :workflow_state

      t.timestamps
    end

    add_index :user_observers, [:observed_user_id, :observing_user_id], unique: true
    add_index :user_observers, :observing_user_id
    add_index :user_observers, :observed_user_id
  end
end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
canvas_sync-0.17.23.beta1 spec/dummy/db/migrate/20210907233329_create_user_observers.rb