diff options
Diffstat (limited to 'migrations/2020-10-29-140956_create_images/up.sql')
-rw-r--r-- | migrations/2020-10-29-140956_create_images/up.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/migrations/2020-10-29-140956_create_images/up.sql b/migrations/2020-10-29-140956_create_images/up.sql new file mode 100644 index 0000000..c047e10 --- /dev/null +++ b/migrations/2020-10-29-140956_create_images/up.sql @@ -0,0 +1,5 @@ +-- Your SQL goes here +CREATE TABLE images ( + id SERIAL PRIMARY KEY NOT NULL, + name VARCHAR NOT NULL UNIQUE +) |