Sqlift

Latest version: v0.2.2

Safety actively analyzes 722631 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.2

This update introduces the ability to optionally install SQLift with PostgreSQL support.

Key Feature

- **Optional PostgreSQL Support:** By default, SQLift is installed without PostgreSQL support. You can optionally install it with PostgreSQL support.

Installation

You can install SQLift using pip:

bash
pip install SQLift


By default, SQLift uses [SQLite](https://www.sqlite.org). If you want to use [PostgreSQL](https://www.postgresql.org), you can install SQLift with PostgreSQL support using the following command:

bash
pip install SQLift[postgres]


Feel free to use and provide feedback!

**Full Changelog**: https://github.com/SpaceShaman/SQLift/compare/v0.2.1...v0.2.2

0.2.1

This update introduces the ability to specify a custom folder for your migrations.

Key Feature

- **Custom Migrations Folder:** Use the `--path` or `-P` option to specify a custom folder for your migrations.
- `sqlift up --path <migrations_folder>`
- `sqlift down --path <migrations_folder>`

Feel free to use and provide feedback!

**Full Changelog**: https://github.com/SpaceShaman/SQLift/compare/v0.1.3...v0.2.1

0.1.3

The first release of SQLift - a simple CLI tool for SQL database migrations. This version introduces basic features for managing migrations for SQLite and PostgreSQL databases.

Key Features

- **Installation:** Install via pip install SQLift.
- **Migrations:** Create and manage SQL migrations using `up` and `down` commands.
- `sqlift up`: Applies all pending migrations.
- `sqlift up <migration_name>`: Applies migrations up to the specified version.
- `sqlift down`: Reverts all migrations.
- `sqlift down <migration_name>`: Reverts migrations down to the specified version.
- Configuration: Set up database connection using the `DB_URL` environment variable.

Feel free to use and provide feedback!

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.