summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-05-29 23:47:06 -0400
committerCara Salter <cara@devcara.com>2022-05-29 23:47:06 -0400
commit7ba652e291bb52d97faa6d21e7821a64664a00ae (patch)
treed4a72c7bb963eee67dc3a2a92bf5e758e6083e41 /migrations
parent67be3f2678c86f8e494197c098f68fe0a1882955 (diff)
downloadhomeworld-7ba652e291bb52d97faa6d21e7821a64664a00ae.tar.gz
homeworld-7ba652e291bb52d97faa6d21e7821a64664a00ae.zip
handlers: Implement CRD handlers
Update handler was removed for now. Also postgres!
Diffstat (limited to 'migrations')
-rw-r--r--migrations/20220528205348_ships.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/migrations/20220528205348_ships.sql b/migrations/20220528205348_ships.sql
new file mode 100644
index 0000000..1390914
--- /dev/null
+++ b/migrations/20220528205348_ships.sql
@@ -0,0 +1,8 @@
+-- Add migration script here
+CREATE TABLE ships (
+ id SERIAL PRIMARY KEY,
+ name TEXT NOT NULL,
+ shasum TEXT NOT NULL,
+ download_url TEXT NOT NULL,
+ version TEXT NOT NULL
+);