Skip to content

Commit d8c044d

Browse files
committed
Install pg_amqp
1 parent 80d96d0 commit d8c044d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

postgres/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,9 @@ COPY ./pgjwt /pgjwt
1717
WORKDIR /pgjwt
1818
RUN make && make install
1919

20+
# pg_amqp - Used by api schema
21+
COPY ./pg_amqp /pg_amqp
22+
WORKDIR /pg_amqp
23+
RUN make && make install
24+
2025
WORKDIR /var/lib/postgresql

postgres/migrations/03-create_api_schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ create table api.playlist (
2424

2525
-- Create the playlist_assets table
2626
create table api.playlist_asset (
27-
id bigint generated always as identity primary key,
27+
id bigint generated always as identity,
2828
playlist_id bigint references api.playlist (id) not null,
2929
asset_id bigint references api.asset (id) not null,
3030
/* "The join table determines many-to-many relationships. It must contain

0 commit comments

Comments
 (0)