kemono2/db/migrations/20210322_01_In37S-add-account-field.py

17 lines
279 B
Python
Raw Normal View History

2024-07-04 21:57:05 +02:00
"""
Add account field
"""
from yoyo import step
__depends__ = {"20210321_01_m7Fuq-add-account-tables"}
steps = [
step(
"""
ALTER TABLE account
ADD COLUMN created_at timestamp without time zone not null default CURRENT_TIMESTAMP
"""
)
]