Sha256: 6399c9415e889af9399b33cd1a9040bfffe593a3a66d62100aeb51f4139236c7

Contents?: true

Size: 218 Bytes

Versions: 15

Compression:

Stored size: 218 Bytes

Contents

# -*- encoding: utf-8 -*-

class AddHashToTimeEntries < ActiveRecord::Migration
  def change
    add_column :time_entries, :file_hash, :string, null: false, default: ""
    add_index :time_entries, :file_hash
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
watch_tower-0.0.3 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.2 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta12 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta11 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta10 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta9 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta8 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta7 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta6 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta5 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta4 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta3 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta2 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb
watch_tower-0.0.1.beta1 lib/watch_tower/server/db/migrate/005_add_hash_to_time_entries.rb