18 lines
292 B
Python
18 lines
292 B
Python
|
"""
|
||
|
Add table to keep track of files passwords
|
||
|
"""
|
||
|
|
||
|
from yoyo import step
|
||
|
|
||
|
__depends__ = {'20231123_00_OFL42-unapproved-dms-and-dms-remade'}
|
||
|
|
||
|
steps = [
|
||
|
step("""
|
||
|
CREATE TABLE archive_files (
|
||
|
file_id int NOT NULL REFERENCES files (id),
|
||
|
files TEXT[] NOT NULL,
|
||
|
password TEXT
|
||
|
);
|
||
|
"""),
|
||
|
]
|