mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Set up Alembic for database migrations
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
7188743fc3
commit
a8a1f74a92
8 changed files with 252 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
"""
|
||||
Schema of aurweb's database.
|
||||
|
||||
Changes here should always be accompanied by an Alembic migration, which can be
|
||||
usually be automatically generated. See `migrations/README` for details.
|
||||
"""
|
||||
|
||||
|
||||
from sqlalchemy import CHAR, Column, ForeignKey, Index, MetaData, String, TIMESTAMP, Table, Text, text
|
||||
from sqlalchemy.dialects.mysql import BIGINT, DECIMAL, INTEGER, TINYINT
|
||||
from sqlalchemy.ext.compiler import compiles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue