fix: use correct table name for sync_group
This commit is contained in:
parent
158910a61f
commit
025a69ea71
3 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,8 @@ drop table episode_actions;
|
|||
|
||||
drop table device_subscriptions;
|
||||
|
||||
drop table sync_groups;
|
||||
|
||||
drop table devices;
|
||||
|
||||
drop table sessions;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ create table devices (
|
|||
references users (id)
|
||||
on delete cascade,
|
||||
sync_group_id bigint
|
||||
references sync_group (id)
|
||||
references sync_groups (id)
|
||||
on delete set null,
|
||||
|
||||
caption text not null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue