diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-10-05 22:05:58 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-10-05 22:05:58 -0400 |
commit | 743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d (patch) | |
tree | 3d393ff1ffd06d1bf470430b2316f46000794806 /dichroism/migrations | |
parent | f8bf353073220ce329d8eb347e3574d5793b6d26 (diff) | |
download | theglassyladies-743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d.tar.xz theglassyladies-743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d.zip |
started work on schema, models, and repos
Diffstat (limited to 'dichroism/migrations')
-rw-r--r-- | dichroism/migrations/.gitkeep | 0 | ||||
-rw-r--r-- | dichroism/migrations/2020-10-04-235458_create_images/down.sql | 1 | ||||
-rw-r--r-- | dichroism/migrations/2020-10-04-235458_create_images/up.sql | 5 |
3 files changed, 6 insertions, 0 deletions
diff --git a/dichroism/migrations/.gitkeep b/dichroism/migrations/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/dichroism/migrations/.gitkeep diff --git a/dichroism/migrations/2020-10-04-235458_create_images/down.sql b/dichroism/migrations/2020-10-04-235458_create_images/down.sql new file mode 100644 index 0000000..bc3690f --- /dev/null +++ b/dichroism/migrations/2020-10-04-235458_create_images/down.sql @@ -0,0 +1 @@ +DROP TABLE "images" diff --git a/dichroism/migrations/2020-10-04-235458_create_images/up.sql b/dichroism/migrations/2020-10-04-235458_create_images/up.sql new file mode 100644 index 0000000..7e92e57 --- /dev/null +++ b/dichroism/migrations/2020-10-04-235458_create_images/up.sql @@ -0,0 +1,5 @@ +CREATE TABLE "images" ( + "id" INTEGER NOT NULL, + "path" TEXT NOT NULL, + PRIMARY KEY("id") +) |