Skip to content
代码片段 群组 项目
提交 a30fd8e3 编辑于 作者: Manoj M J's avatar Manoj M J
浏览文件

Make changes to LFK script

上级 cef4417a
No related branches found
No related tags found
无相关合并请求
......@@ -161,7 +161,8 @@ def generate_migration(definition)
content = <<-EOF.strip_heredoc
# frozen_string_literal: true
class Remove#{definition.to_table.camelcase}#{definition.from_table.camelcase}#{definition.column.camelcase}Fk < Gitlab::Database::Migration[2.1]
class Remove#{definition.to_table.camelcase}#{definition.from_table.camelcase}#{definition.column.camelcase}Fk < Gitlab::Database::Migration[#{Gitlab::Database::Migration.current_version}]
milestone '#{Gitlab.current_milestone}'
disable_ddl_transaction!
FOREIGN_KEY_NAME = "#{definition.name}"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册