Skip to content
Draft
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
4 changes: 2 additions & 2 deletions toolset/databases/postgres/create-postgres.sql
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ INSERT INTO Fortune (id, message) VALUES (12, 'フレームワークのベンチ

CREATE TABLE "World" (
id integer NOT NULL,
randomNumber integer NOT NULL default 0,
"randomNumber" integer NOT NULL default 0,
PRIMARY KEY (id)
);
GRANT ALL PRIVILEGES ON "World" to benchmarkdbuser;

INSERT INTO "World" (id, randomnumber)
INSERT INTO "World" (id, "randomNumber")
SELECT x.id, least(floor(random() * 10000 + 1), 10000) FROM generate_series(1,10000) as x(id);

CREATE TABLE "Fortune" (
Expand Down