mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-24 18:41:00 +08:00
Implement new fields for app folder id
This commit is contained in:
parent
1beb28a73a
commit
2197b4d040
2 changed files with 5 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ defmodule Livebook.Teams.AppDeployment do
|
|||
access_type: Livebook.Notebook.AppSettings.access_type(),
|
||||
hub_id: String.t() | nil,
|
||||
deployment_group_id: String.t() | nil,
|
||||
app_folder_id: String.t() | nil,
|
||||
file: binary() | nil,
|
||||
deployed_by: String.t() | nil,
|
||||
deployed_at: DateTime.t() | nil,
|
||||
|
|
@ -32,6 +33,7 @@ defmodule Livebook.Teams.AppDeployment do
|
|||
field :access_type, Ecto.Enum, values: @access_types
|
||||
field :hub_id, :string
|
||||
field :deployment_group_id, :string
|
||||
field :app_folder_id, :string
|
||||
field :file, :string
|
||||
field :deployed_by, :string
|
||||
field :deployed_at, :utc_datetime
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ defmodule Livebook.Teams.AuthorizationGroup do
|
|||
|
||||
@type t :: %__MODULE__{
|
||||
provider_id: String.t() | nil,
|
||||
group_name: String.t() | nil
|
||||
group_name: String.t() | nil,
|
||||
app_folder_id: String.t() | nil
|
||||
}
|
||||
|
||||
@primary_key false
|
||||
embedded_schema do
|
||||
field :provider_id, :string
|
||||
field :group_name, :string
|
||||
field :app_folder_id, :string
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue