Skip to content

Commit

Permalink
Merge branch '78-stop-using-serial-in-postgres-storage-engine' into 1…
Browse files Browse the repository at this point in the history
…7-transactions
  • Loading branch information
shortishly committed Oct 18, 2024
2 parents 927c117 + 458e636 commit b08400c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions work-dir/initdb.d/010-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
begin;

create table cluster (
id serial primary key,
id int generated always as identity primary key,
name text not null,
unique (name),
last_updated timestamp default current_timestamp not null,
created_at timestamp default current_timestamp not null
);

create table broker (
id serial primary key,
id int generated always as identity primary key,
cluster integer references cluster(id) not null,
node integer not null,
rack text,
Expand All @@ -36,7 +36,7 @@ create table broker (
);

create table listener (
id serial primary key,
id int generated always as identity primary key,
broker integer references broker(id) not null,
name text not null,
host text not null,
Expand Down Expand Up @@ -103,7 +103,7 @@ create type "Compression" as enum (
);

create table record (
id bigserial primary key not null,
id bigint generated always as identity primary key,
topic uuid references topic(id),
partition integer,
producer_id bigint,
Expand Down

0 comments on commit b08400c

Please sign in to comment.