just use the list of formatting keys we care about
This commit is contained in:
parent
e96b3e8d8c
commit
fb8b17c720
@ -127,7 +127,7 @@ def table(table, stream)
|
||||
end.compact
|
||||
|
||||
# find all migration keys used in this table
|
||||
keys = [:name, :limit, :precision, :scale, :default, :null] & column_specs.map(&:keys).flatten
|
||||
keys = [:name, :limit, :precision, :scale, :default, :null]
|
||||
|
||||
# figure out the lengths for each column based on above keys
|
||||
lengths = keys.map { |key|
|
||||
|
Loading…
Reference in New Issue
Block a user