Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0.1] Fixing startup when using jar #20

Merged
merged 1 commit into from
Jun 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .run/dockerfile.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<deployment type="dockerfile">
<settings>
<option name="imageTag" value="bfresnel/loot-table" />
<option name="buildOnly" value="true" />
<option name="containerName" value="loot-table-webapp" />
<option name="sourceFilePath" value="dockerfile" />
</settings>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "fr.bfr"
version = "2.0.0"
version = "2.0.1"
java.sourceCompatibility = JavaVersion.VERSION_16


Expand Down
21 changes: 11 additions & 10 deletions src/main/resources/db/scripts/init-database.sql
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
CREATE TABLE t_character(
id int,
name varchar(255),
rarity integer);
CREATE TABLE public.t_character (
id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"name" varchar(255) NULL,
rarity int4 NULL,
CONSTRAINT t_character_pkey PRIMARY KEY (id)
);

CREATE UNIQUE INDEX t_character_id_index
ON t_character(id);

CREATE TABLE t_drop(
rarity varchar(255),
chance integer);
CREATE TABLE public.t_drop (
rarity int4 NOT NULL,
chance float8 NULL,
CONSTRAINT t_drop_pkey PRIMARY KEY (rarity)
);