X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3e2e6462f293596aef5d5de18b0a173edc046c7..f36fc22e1a5b8311ccba0f5530639b26c78c2973:/lib/migrate.rb diff --git a/lib/migrate.rb b/lib/migrate.rb index 681eba5b6..9008b0a9f 100644 --- a/lib/migrate.rb +++ b/lib/migrate.rb @@ -20,7 +20,7 @@ module ActiveRecord end module SchemaStatements - def add_primary_key(table_name, column_name, options = {}) + def add_primary_key(table_name, column_name, _options = {}) execute "ALTER TABLE #{quote_table_name(table_name)} ADD PRIMARY KEY (#{quote_column_name(column_name)})" end