We have found that currently when a migration invokes the primary_key method in schema_statements.rb e.g t.primary_key :zlookupid, :string, limit: 1, null: false, it causes the following wrong number of arguments error:
ArgumentError: wrong number of arguments (given 3, expected 1..2)
Based on the use of keyword arguments in the other primary_key method definition in schema_definitions.rb, we think that this should be the same in the schema_statements.rb definition rather than using *args in the definition and super call.
We have added a local fix to get around this but wonder if this may be an issue that other's will face.
We have found that currently when a migration invokes the primary_key method in
schema_statements.rb
e.gt.primary_key :zlookupid, :string, limit: 1, null: false
, it causes the following wrong number of arguments error:Based on the use of keyword arguments in the other primary_key method definition in
schema_definitions.rb
, we think that this should be the same in theschema_statements.rb
definition rather than using*args
in the definition andsuper
call.We have added a local fix to get around this but wonder if this may be an issue that other's will face.