Skip to content

Commit

Permalink
Add two new columns to connectors for UI to show/hide properties (#…
Browse files Browse the repository at this point in the history
…1556)

* Need to store what the default capture interval is for a connector

* Adding in the ability to hide back fill with the table

* Reverting migration from connectors

* Moving the migration to be on connector tags instead of connectors

* reverting as we'll put this on connector_tags

* typo

* switching type over the type to not require constraint
updating name as requested

* Moving from pending

* Renaming after the merge
  • Loading branch information
travjenkins authored Aug 27, 2024
1 parent c17dec5 commit f72c01e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion supabase/migrations/06_connectors.sql
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,3 @@ grant select on table connector_tags to authenticated;

create unique index idx_connector_tags_id_where_queued on connector_tags(id)
where job_status->>'type' = 'queued';

11 changes: 11 additions & 0 deletions supabase/migrations/58_connector_tags_control_flags.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
begin;

alter table connector_tags add column default_capture_interval interval;
comment on column connector_tags.default_capture_interval is
'The default value for the interval property for a Capture. This is normally used for non-streaming connectors';

alter table connector_tags add column disable_backfill boolean not null default false;
comment on column connector_tags.disable_backfill is
'Controls if the UI will hide the backfill button for a connector';

commit;

0 comments on commit f72c01e

Please sign in to comment.