Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
sqlite-migration-manager
Advanced tools
A simple file based SQlite migration manager python library
You can install SQLite Migration Manager using pip:
pip install sqlite-migration-manager
Here's a basic example of how to use SQLite Migration Manager:
from sqlite_migration_manager import SQLiteMigrationManager
db_path = 'path/to/your/database.db'
patches_dir = 'path/to/your/migration/files'
with SQLiteMigrationManager(db_path, patches_dir) as manager:
manager.run_migrations()
Create SQL migration files in your patches directory with names following the pattern:
001_initial_schema.sql
002_add_users_table.sql
003_add_email_to_users.sql
...
The numeric prefix determines the order of execution.
FAQs
A SQLite database migration management library
We found that sqlite-migration-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.