Sha256: 8e09a5eff6e924482eb379b59b5a65382c2c5c3fa958bc2980e1dae203d8765e

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

class CreateWorkerPluginsWorkplaces < ActiveRecord::Migration[5.2]
  def change
    create_table :worker_plugins_workplaces do |t|
      t.string :name, null: false
      t.boolean :active, default: false, index: true, null: false
      t.belongs_to :user, index: true, polymorphic: true
      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
worker_plugins-0.0.7 db/migrate/20150521114555_create_worker_plugins_workplaces.rb
worker_plugins-0.0.6 db/migrate/20150521114555_create_worker_plugins_workplaces.rb
worker_plugins-0.0.5 db/migrate/20150521114555_create_worker_plugins_workplaces.rb
worker_plugins-0.0.4 db/migrate/20150521114555_create_worker_plugins_workplaces.rb