diff options
Diffstat (limited to 'migrations')
| -rw-r--r-- | migrations/20220912114912_add-models-uploads-table.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/migrations/20220912114912_add-models-uploads-table.sql b/migrations/20220912114912_add-models-uploads-table.sql new file mode 100644 index 0000000..6647c69 --- /dev/null +++ b/migrations/20220912114912_add-models-uploads-table.sql @@ -0,0 +1,6 @@ +CREATE TABLE uploads ( + id SERIAL PRIMARY KEY, + model_id INTEGER REFERENCES models(id) NOT NULL, + filepath VARCHAR NOT NULL, + created TIMESTAMP NOT NULL +); |
