提交 7f45c2d0 编写于 作者: R Ryuta Kamizono

Add CHANGELOG entry for #27384 and #27762

上级 6dccceef
* All integer-like PKs are autoincrement unless they have an explicit default.
*Matthew Draper*
* Omit redundant `using: :btree` for schema dumping.
*Ryuta Kamizono*
......
......@@ -238,13 +238,13 @@ def teardown
@connection.drop_table(:auto_increments, if_exists: true)
end
def test_primary_key_with_auto_increment
@connection.create_table(:auto_increments, id: :integer, auto_increment: true, force: true)
def test_primary_key_with_integer
@connection.create_table(:auto_increments, id: :integer, force: true)
assert_auto_incremented
end
def test_primary_key_with_auto_increment_and_bigint
@connection.create_table(:auto_increments, id: :bigint, auto_increment: true, force: true)
def test_primary_key_with_bigint
@connection.create_table(:auto_increments, id: :bigint, force: true)
assert_auto_incremented
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册