Skip to content

Commit

Permalink
partition helper does not error if table already migrated
Browse files Browse the repository at this point in the history
  • Loading branch information
kikito committed Mar 23, 2018
1 parent 942dbab commit 90890d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/dao/migrations/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ do
end

if is_already_partitioned(column_definitions) then
return nil, fmt("The table '%s' is already partitioned", table_name)
return nil
end

local aux_table_name = "aux_for_partition_of_" .. table_name
Expand Down

0 comments on commit 90890d6

Please sign in to comment.