Helps migrating database schema changes using pydal.
Project description
Educationwarehouse's Migrate
Table of Contents
Installation
pip install edwh-migrate
Documentation
Environment variables
MIGRATE_URI
: regularpostgres://user:password@host:port/database
orsqlite:///path/to/database
URIDATABASE_TO_RESTORE
: path to a (compressed) SQL file to restore..xz
,.gz
and.sql
are supported.MIGRATE_CAT_COMMAND
: for unsupported compression formats, this command decompresses the file and produces sql on the stdout.SCHEMA_VERSION
: Used in case of schema versioning. Set by another process.REDIS_HOST
: If set, all keys of the redis database 0 will be removed.
License
edwh-migrate
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
edwh_migrate-0.5.2b2.tar.gz
(17.5 kB
view hashes)
Built Distribution
Close
Hashes for edwh_migrate-0.5.2b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58c719f8b43616b36fdf7dcb2017f64fb6f5c0f7d834b455068be05012414e1e |
|
MD5 | f795f9c5da4f8a7cec3ce583882dea05 |
|
BLAKE2b-256 | 42d240a6dbfe79a47ac986ff75d72d52824cb2e0acf044c9a90998b3c277d4eb |