Sha256: 025737098e94ee2f97d8fda0f3538a4dd16bcf349df9647722cd85383d88f759

Contents?: true

Size: 306 Bytes

Versions: 5

Compression:

Stored size: 306 Bytes

Contents

class RenameTablesForNamespacing < ActiveRecord::Migration
  def change
    rename_table :addresses, :has_vcards_addresses
    rename_table :honorific_prefixes, :has_vcards_honorific_prefixes
    rename_table :phone_numbers, :has_vcards_phone_numbers
    rename_table :vcards, :has_vcards_vcards
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_vcards-1.1.2 db/migrate/20140617113710_rename_tables_for_namespacing.rb
has_vcards-1.1.1 db/migrate/20140617113710_rename_tables_for_namespacing.rb
has_vcards-1.1.0 db/migrate/20140617113710_rename_tables_for_namespacing.rb
has_vcards-1.0.0 db/migrate/20140617113710_rename_tables_for_namespacing.rb
has_vcards-1.0.0.rc0 db/migrate/20140617113710_rename_tables_for_namespacing.rb