Skip to content

Commit

Permalink
huh
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Nov 23, 2024
1 parent b1e5c5d commit 67b041c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions migrations/20241122212336_create_geode_versions.up.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
CREATE TABLE geode_versions (
tag TEXT PRIMARY KEY NOT NULL,
mac gd_version,
win gd_version,
android gd_version,
prerelease BOOLEAN DEFAULT FALSE NOT NULL,
created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP NOT NULL
tag TEXT PRIMARY KEY NOT NULL,
mac gd_version,
win gd_version,
android gd_version,
prerelease BOOLEAN DEFAULT FALSE NOT NULL,
created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP NOT NULL
);

-- prefill some versions for the android updater
Expand Down
12 changes: 6 additions & 6 deletions migrations/20241123052145_create_version_aliases.up.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
CREATE TABLE gd_version_aliases (
version_name gd_version PRIMARY KEY NOT NULL,
mac_arm_uuid uuid UNIQUE,
mac_intel_uuid uuid UNIQUE,
android_manifest_id INTEGER UNIQUE,
windows_timestamp INTEGER UNIQUE,
added_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP NOT NULL
version_name gd_version PRIMARY KEY NOT NULL,
mac_arm_uuid uuid UNIQUE,
mac_intel_uuid uuid UNIQUE,
android_manifest_id INTEGER UNIQUE,
windows_timestamp INTEGER UNIQUE,
added_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP NOT NULL
);

-- yet again, some default values, idk
Expand Down

0 comments on commit 67b041c

Please sign in to comment.