Sha256: 3cf4324ea24417451021a3afb5dcaa281bcc36a9a935651d0786d8ad9edb4400

Contents?: true

Size: 349 Bytes

Versions: 2

Compression:

Stored size: 349 Bytes

Contents

class CreateDistribuoApps < ActiveRecord::Migration[6.0]
  def change
    create_table :distribuo_apps, id: :uuid do |t|
      t.string :name
      t.string :release_type
      t.string :operating_system
      t.references :mobiliable, type: :uuid, polymorphic: true, index: { name: 'index_app_on_mobiliable' }

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
distribuo-0.1.16 db/migrate/20201118080121_create_distribuo_apps.rb
distribuo-0.1.8 db/migrate/20201118080121_create_distribuo_apps.rb