提交 c16a70a4 编写于 作者: L Lars Kanis 提交者: GitHub

Add missing require for zlib

Zlib is used to generate the advisory lock since commit 2c2a8755 .

Using the Migrator fails since then, when it is called without the rails context:

    NameError: uninitialized constant ActiveRecord::Migrator::Zlib

This patch fixes the above error.
上级 58cabed3
require "set"
require "zlib"
require "active_support/core_ext/module/attribute_accessors"
require "active_support/core_ext/regexp"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册