Sha256: e583b317306c847c3dbea2fd2c07f4db9e23b8e1fa5f56573036e08d0673f4d5

Contents?: true

Size: 585 Bytes

Versions: 32

Compression:

Stored size: 585 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 CreateAccounts < ActiveRecord::Migration[5.1]
  def change
    create_table :accounts do |t|
      t.bigint :canvas_account_id, null: false
      t.string :account_id
      t.bigint :canvas_parent_id
      t.string :parent_account_id
      t.string :name
      t.string :status

      t.timestamps
    end
    add_index :accounts, :canvas_account_id, unique: true
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
canvas_sync-0.5.3 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.5.2 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.5.1 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.4.1 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.4.0 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.3.23 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.3.22 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.3.21 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.3.20 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.3.19 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.3.18 spec/dummy/db/migrate/20180220172559_create_accounts.rb
canvas_sync-0.3.17 spec/dummy/db/migrate/20180220172559_create_accounts.rb