-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data-warehouse): Added UI to select sync type (#22906)
* Added UI to select sync type * Fixed tests * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Fixed migration * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Added backfill to migration * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (1) * Fixed test * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0ac37ae
commit 14f114a
Showing
11 changed files
with
300 additions
and
35 deletions.
There are no files selected for viewing
Binary file modified
BIN
+12.2 KB
(110%)
frontend/__snapshots__/scenes-app-insights--trends-line-edit--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Generated by Django 4.2.11 on 2024-06-11 17:59 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("posthog", "0427_hogfunction_icon_url_hogfunction_template_id"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="externaldataschema", | ||
name="sync_type", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[("full_refresh", "full_refresh"), ("incremental", "incremental")], | ||
default="full_refresh", | ||
max_length=128, | ||
), | ||
), | ||
migrations.RunSQL( | ||
sql=""" | ||
UPDATE posthog_externaldataschema AS schema | ||
SET sync_type = 'incremental' | ||
FROM posthog_externaldatasource AS source | ||
WHERE schema.source_id = source.id AND source.source_type = 'Stripe' AND schema.name = 'Invoice' | ||
""", | ||
reverse_sql=migrations.RunSQL.noop, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.