Sha256: f83346df540f33104c0a6c8c70518305711c1d9b60ea5ca0b6749c89a788e1e0
Contents?: true
Size: 585 Bytes
Versions: 2
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_id, null: false t.string :sis_id t.bigint :canvas_parent_account_id t.string :sis_parent_account_id t.string :name t.string :workflow_state t.timestamps end add_index :accounts, :canvas_id, unique: true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
canvas_sync-0.10.2 | spec/dummy/db/migrate/20190604193942_create_accounts.rb |
canvas_sync-0.10.0 | spec/dummy/db/migrate/20190604193942_create_accounts.rb |