Sha256: a5f119415a0edf123e9393fc4594a5fb4b85f4def076e968f50ec1dbe2862eae

Contents?: true

Size: 198 Bytes

Versions: 15

Compression:

Stored size: 198 Bytes

Contents

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

class AddHashToFiles < ActiveRecord::Migration
  def change
    add_column :files, :file_hash, :string, null: false, default: ""
    add_index :files, :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/006_add_hash_to_files.rb
watch_tower-0.0.2 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta12 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta11 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta10 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta9 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta8 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta7 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta6 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta5 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta4 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta3 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta2 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb
watch_tower-0.0.1.beta1 lib/watch_tower/server/db/migrate/006_add_hash_to_files.rb