mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Changelog: ========== [bug] [sqlite] -------------- Fixed bug where the SQLite implementation of Operations.rename_table() would render an explicit schema name for both the old and new table name, which while is the standard ALTER syntax, is not accepted by SQLite’s syntax which doesn’t support a rename across schemas. In particular, the syntax issue would prevent batch mode from working for SQLite databases that made use of attached databases (which are treated as “schemas” in SQLAlchemy). [bug] [batch] ------------- Added an error raise for the condition where Operations.batch_alter_table() is used in --sql mode, where the operation requires table reflection, as is the case when running against SQLite without giving it a fixed Table object. Previously the operation would fail with an internal error. To get a “move and copy” batch operation as a SQL script without connecting to a database, a Table object should be passed to the Operations.batch_alter_table.copy_from parameter so that reflection may be skipped. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 lines
479 B
BlitzBasic
20 lines
479 B
BlitzBasic
DESCRIPTION = "A database migration tool for SQLAlchemy"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=f5a8522010db1a393833988dbe2c7f0b"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
SRC_URI[sha256sum] = "cd0b5e45b14b706426b833f06369b9a6d5ee03f826ec3238723ce8caaf6e5ffa"
|
|
|
|
PYPI_PACKAGE = "alembic"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
${PYTHON_PN}-dateutil \
|
|
${PYTHON_PN}-editor \
|
|
${PYTHON_PN}-mako \
|
|
${PYTHON_PN}-sqlalchemy \
|
|
${PYTHON_PN}-misc \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|