Skip to content

biobdeveloper/server_default_dt_example

Repository files navigation

Simple POC how to use server_default time with sqlalchemy, alembic and PostgreSQL

Requirements

  • Docker
  • Python3.9

Run

Create database

docker-compose up

Install requrements


python3.9 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Apply migrations

alembic upgrade head

Run text example

python .

About

python sqlalchemy+alembic+postgreSQL time triggers example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published