Sha256: 8aee90e924c24a2003c06c70f1c2a90a5635e74ebac9db0f7ce81ee3539ca211

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

class CreateActivityLabors < ActiveRecord::Migration
  def self.up
    create_table :activity_labors do |t|
      
      t.integer :employee_id, :activity_id
      t.text    :comments
      t.integer :minute_duration

      t.timestamps
    end
  end

  def self.down
    drop_table :activity_labors
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 db/migrate/009_create_activity_labors.rb
brisk-bills-0.8.1 db/migrate/009_create_activity_labors.rb