-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update frontend to make use of feed's bucket for HLS stream (#620)
- Loading branch information
Showing
13 changed files
with
427 additions
and
25 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
server/priv/repo/migrations/20240909214708_update_feed_bucket_non_null.exs
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,21 @@ | ||
defmodule Orcasite.Repo.Migrations.UpdateFeedBucketNonNull do | ||
@moduledoc """ | ||
Updates resources based on their most recent snapshots. | ||
This file was autogenerated with `mix ash_postgres.generate_migrations` | ||
""" | ||
|
||
use Ecto.Migration | ||
|
||
def up do | ||
alter table(:feeds) do | ||
modify :bucket, :text, null: false | ||
end | ||
end | ||
|
||
def down do | ||
alter table(:feeds) do | ||
modify :bucket, :text, null: true | ||
end | ||
end | ||
end |
317 changes: 317 additions & 0 deletions
317
server/priv/resource_snapshots/repo/feeds/20240909214708.json
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,317 @@ | ||
{ | ||
"attributes": [ | ||
{ | ||
"allow_nil?": false, | ||
"default": "fragment(\"uuid_generate_v7()\")", | ||
"generated?": false, | ||
"primary_key?": true, | ||
"references": null, | ||
"size": null, | ||
"source": "id", | ||
"type": "uuid" | ||
}, | ||
{ | ||
"allow_nil?": false, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "name", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": false, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "node_name", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": false, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "slug", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": false, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "location_point", | ||
"type": "geometry" | ||
}, | ||
{ | ||
"allow_nil?": true, | ||
"default": "\"\"", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "intro_html", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": true, | ||
"default": "\"\"", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "image_url", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": true, | ||
"default": "true", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "visible", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"allow_nil?": false, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "bucket", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": true, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "bucket_region", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": true, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "cloudfront_url", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": true, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "dataplicity_id", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": true, | ||
"default": "nil", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "orcahello_id", | ||
"type": "text" | ||
}, | ||
{ | ||
"allow_nil?": false, | ||
"default": "fragment(\"(now() AT TIME ZONE 'utc')\")", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "inserted_at", | ||
"type": "utc_datetime_usec" | ||
}, | ||
{ | ||
"allow_nil?": false, | ||
"default": "fragment(\"(now() AT TIME ZONE 'utc')\")", | ||
"generated?": false, | ||
"primary_key?": false, | ||
"references": null, | ||
"size": null, | ||
"source": "updated_at", | ||
"type": "utc_datetime_usec" | ||
} | ||
], | ||
"base_filter": null, | ||
"check_constraints": [], | ||
"custom_indexes": [ | ||
{ | ||
"all_tenants?": false, | ||
"concurrently": false, | ||
"error_fields": [ | ||
"name" | ||
], | ||
"fields": [ | ||
{ | ||
"type": "atom", | ||
"value": "name" | ||
} | ||
], | ||
"include": null, | ||
"message": null, | ||
"name": null, | ||
"nulls_distinct": true, | ||
"prefix": null, | ||
"table": null, | ||
"unique": false, | ||
"using": null, | ||
"where": null | ||
}, | ||
{ | ||
"all_tenants?": false, | ||
"concurrently": false, | ||
"error_fields": [ | ||
"node_name" | ||
], | ||
"fields": [ | ||
{ | ||
"type": "atom", | ||
"value": "node_name" | ||
} | ||
], | ||
"include": null, | ||
"message": null, | ||
"name": null, | ||
"nulls_distinct": true, | ||
"prefix": null, | ||
"table": null, | ||
"unique": false, | ||
"using": null, | ||
"where": null | ||
}, | ||
{ | ||
"all_tenants?": false, | ||
"concurrently": false, | ||
"error_fields": [ | ||
"visible" | ||
], | ||
"fields": [ | ||
{ | ||
"type": "atom", | ||
"value": "visible" | ||
} | ||
], | ||
"include": null, | ||
"message": null, | ||
"name": null, | ||
"nulls_distinct": true, | ||
"prefix": null, | ||
"table": null, | ||
"unique": false, | ||
"using": null, | ||
"where": null | ||
}, | ||
{ | ||
"all_tenants?": false, | ||
"concurrently": false, | ||
"error_fields": [ | ||
"slug" | ||
], | ||
"fields": [ | ||
{ | ||
"type": "atom", | ||
"value": "slug" | ||
} | ||
], | ||
"include": null, | ||
"message": null, | ||
"name": null, | ||
"nulls_distinct": true, | ||
"prefix": null, | ||
"table": null, | ||
"unique": false, | ||
"using": null, | ||
"where": null | ||
}, | ||
{ | ||
"all_tenants?": false, | ||
"concurrently": false, | ||
"error_fields": [ | ||
"dataplicity_id" | ||
], | ||
"fields": [ | ||
{ | ||
"type": "atom", | ||
"value": "dataplicity_id" | ||
} | ||
], | ||
"include": null, | ||
"message": null, | ||
"name": null, | ||
"nulls_distinct": true, | ||
"prefix": null, | ||
"table": null, | ||
"unique": false, | ||
"using": null, | ||
"where": null | ||
}, | ||
{ | ||
"all_tenants?": false, | ||
"concurrently": false, | ||
"error_fields": [ | ||
"orcahello_id" | ||
], | ||
"fields": [ | ||
{ | ||
"type": "atom", | ||
"value": "orcahello_id" | ||
} | ||
], | ||
"include": null, | ||
"message": null, | ||
"name": null, | ||
"nulls_distinct": true, | ||
"prefix": null, | ||
"table": null, | ||
"unique": false, | ||
"using": null, | ||
"where": null | ||
} | ||
], | ||
"custom_statements": [], | ||
"has_create_action": true, | ||
"hash": "7FDF1C3B2AAFBFB7E5DFBE36CD16249F0B95A8F78F8927EE095669FC0F259BB4", | ||
"identities": [ | ||
{ | ||
"all_tenants?": false, | ||
"base_filter": null, | ||
"index_name": "feeds_unique_slug_index", | ||
"keys": [ | ||
{ | ||
"type": "atom", | ||
"value": "slug" | ||
} | ||
], | ||
"name": "unique_slug", | ||
"nils_distinct?": true, | ||
"where": null | ||
} | ||
], | ||
"multitenancy": { | ||
"attribute": null, | ||
"global": null, | ||
"strategy": null | ||
}, | ||
"repo": "Elixir.Orcasite.Repo", | ||
"schema": null, | ||
"table": "feeds" | ||
} |
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
Oops, something went wrong.