https://github.com/asphaltt/alem.py
A revision wrapper of https://github.com/sqlalchemy/alembic
https://github.com/asphaltt/alem.py
alembic python sql sqlalchemy
Last synced: 9 months ago
JSON representation
A revision wrapper of https://github.com/sqlalchemy/alembic
- Host: GitHub
- URL: https://github.com/asphaltt/alem.py
- Owner: Asphaltt
- License: mit
- Created: 2019-05-04T05:29:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-07T15:53:51.000Z (about 7 years ago)
- Last Synced: 2025-02-13T12:08:01.820Z (over 1 year ago)
- Topics: alembic, python, sql, sqlalchemy
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Alem is a simple revision wrapper of `Alembic `_.
Usage:
Install by pip, "pip install alem".
Then you get a command "alem".
Difference from Alembic:
* Add two arguments for Alembic subcommand revision, "--upgrade"/"-U" and
"--downgrade"/"-D". They accept a string, separated by ";" for multiple sql
statements, or a file path of sql file. Sql statements in sql file can be
multiple lines or one line. You can ignore them as you want.
Attention: comment in sql file is not supported yet.
The rest is to use it as Alembic.