Sha256: 8a862d3d2ef5066cc23d7c27c056543c0ea4ff6b5bace5868e7ae3f810bcf6c7

Contents?: true

Size: 206 Bytes

Versions: 8

Compression:

Stored size: 206 Bytes

Contents

class CreatePortfolios < ActiveRecord::Migration[5.2]
  def change
    create_table :portfolios do |t|
      t.string :name
      t.references :user, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
power_api-2.1.1 spec/dummy/db/migrate/20200227150449_create_portfolios.rb
power_api-2.1.0 spec/dummy/db/migrate/20200227150449_create_portfolios.rb
power_api-2.0.2 spec/dummy/db/migrate/20200227150449_create_portfolios.rb
power_api-2.0.1 spec/dummy/db/migrate/20200227150449_create_portfolios.rb
power_api-2.0.0 spec/dummy/db/migrate/20200227150449_create_portfolios.rb
power_api-1.0.0 spec/dummy/db/migrate/20200227150449_create_portfolios.rb
power_api-0.2.0 spec/dummy/db/migrate/20200227150449_create_portfolios.rb
power_api-0.1.0 spec/dummy/db/migrate/20200227150449_create_portfolios.rb