Sha256: 9f96b480da39ccf2e39d5df26fc65c30f5dd032b513be0c725d870ada543ff53
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
class AddAttributionIdToUniqueIndex < Landable::Migration def up execute <<-SQL ALTER TABLE #{Landable.configuration.database_schema_prefix}landable_traffic.referers DROP CONSTRAINT referers_domain_id_path_id_query_string_id_key; CREATE UNIQUE INDEX referers_domain_id_path_id_query_string_id_attribution_id ON #{Landable.configuration.database_schema_prefix}landable_traffic.referers(domain_id, path_id, query_string_id, attribution_id); SQL end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
landable-1.14.0 | db/migrate/20131121150902_add_attribution_id_to_unique_index.rb |
landable-1.13.2 | db/migrate/20131121150902_add_attribution_id_to_unique_index.rb |