ВС
Size: a a a
ВС
ВС
ВС
ВС
M
create table audio
(
id serial not null,
category text,
name text,
file_id text unique,
usage integer default 0 not null
);
alter table audio
owner to postgres;
create unique index audio_id_uindex
on audio (id);
YS
create table audio
(
id serial not null,
category text,
name text,
file_id text unique,
usage integer default 0 not null
);
alter table audio
owner to postgres;
create unique index audio_id_uindex
on audio (id);
YS
M
INSERT INTO audio(file_id, name, category) VALUES ($1, $2, $3) RETURNING id
ВС
YS
INSERT INTO audio(file_id, name, category) VALUES ($1, $2, $3) RETURNING id
M
[<Record id=1 category='Топ-10 🏆' name='АЛЁ!!!' file_id='CQACAgIAAxkBAAIBRF8l3oeBG_OsWNtocp6qUSVlF53aAAIUAgAC--bxS-Sm_2OYBCicGgQ' usage=0>,
<Record id=2 category='Топ-10 🏆' name='АЛЁ!!!' file_id='CQACAgIAAxkBAAIBVl8myQwRzNDfzEKZZbevs7lgUbQBAAIUAgAC--bxS-Sm_2OYBCicGgQ' usage=0>
file_id совпадаютM
M
M
M
M
M
YS
M
М