diff --git a/.github/workflows/preview_core.yaml b/.github/workflows/preview_core.yaml new file mode 100644 index 00000000..2173bcd7 --- /dev/null +++ b/.github/workflows/preview_core.yaml @@ -0,0 +1,32 @@ +# https://github.com/neondatabase/preview-branches-with-fly +on: [pull_request] +env: + NEON_PROJECT_ID: ${{ vars.NEON_PROJECT_ID }} + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +jobs: + preview: + runs-on: ubuntu-latest + concurrency: + group: pr-${{ github.event.number }} + steps: + - uses: actions/checkout@v4 + - id: branch-name + uses: tj-actions/branch-names@v8 + - id: create-branch + uses: neondatabase/create-branch-action@v5 + with: + project_id: ${{ env.NEON_PROJECT_ID }} + username: "canary_prod_owner" + branch_name: preview/${{ steps.branch-name.outputs.current_branch }} + api_key: ${{ secrets.NEON_API_KEY }} + - run: | + echo "DATABASE_URL=${{ steps.create-branch.outputs.db_url_with_pooler }}" >> "$GITHUB_ENV" + - id: deploy + uses: superfly/fly-pr-review-apps@1.2.1 + with: + secrets: DATABASE_URL=$DATABASE_URL + - uses: thollander/actions-comment-pull-request@v2 + with: + message: |- + Fly Preview URL :balloon: : ${{ steps.deploy.outputs.url }} + Neon branch :elephant: : https://console.neon.tech/app/projects/${{ env.NEON_PROJECT_ID }}/branches/${{ steps.create-branch.outputs.branch_id }} diff --git a/.github/workflows/preview_core_cleanup.yaml b/.github/workflows/preview_core_cleanup.yaml new file mode 100644 index 00000000..a09dfdae --- /dev/null +++ b/.github/workflows/preview_core_cleanup.yaml @@ -0,0 +1,16 @@ +# https://github.com/neondatabase/preview-branches-with-fly +on: + pull_request: + types: [closed] +env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +jobs: + cleanup: + runs-on: ubuntu-latest + steps: + - uses: superfly/fly-pr-review-apps@1.2.0 + - uses: neondatabase/delete-branch-action@v3.1.3 + with: + project_id: ${{ var.NEON_PROJECT_ID }} + branch: preview/${{ github.event.pull_request.head.ref }} + api_key: ${{ secrets.NEON_API_KEY }} diff --git a/core/.formatter.exs b/core/.formatter.exs index b27486b8..7f031d05 100644 --- a/core/.formatter.exs +++ b/core/.formatter.exs @@ -6,8 +6,7 @@ :ash, :ash_phoenix, :ash_postgres, - :ash_authentication, - :ash_archival + :ash_authentication ], subdirectories: ["priv/*/migrations"], plugins: [Phoenix.LiveView.HTMLFormatter], diff --git a/core/lib/canary/accounts/billing.ex b/core/lib/canary/accounts/billing.ex index 1e05ac50..85b7733d 100644 --- a/core/lib/canary/accounts/billing.ex +++ b/core/lib/canary/accounts/billing.ex @@ -17,7 +17,7 @@ defmodule Canary.Accounts.Billing do end relationships do - belongs_to :account, Canary.Accounts.Account + belongs_to :account, Canary.Accounts.Account, allow_nil?: false end calculations do diff --git a/core/lib/canary/accounts/project.ex b/core/lib/canary/accounts/project.ex index 87370dfa..70758483 100644 --- a/core/lib/canary/accounts/project.ex +++ b/core/lib/canary/accounts/project.ex @@ -2,7 +2,6 @@ defmodule Canary.Accounts.Project do use Ash.Resource, domain: Canary.Accounts, data_layer: AshPostgres.DataLayer, - extensions: [AshArchival.Resource], authorizers: [Ash.Policy.Authorizer], simple_notifiers: [Canary.Notifiers.Discord] @@ -20,11 +19,6 @@ defmodule Canary.Accounts.Project do identity :unique_public_key, [:public_key] end - archive do - attribute :archived_at - exclude_read_actions [:read_all] - end - relationships do belongs_to :account, Canary.Accounts.Account, allow_nil?: false has_many :sources, Canary.Sources.Source @@ -34,16 +28,12 @@ defmodule Canary.Accounts.Project do actions do defaults [:read] - read :read_all do - primary? false - end - create :create do primary? true accept [:account_id, :name] change fn changeset, _ -> - key = "cp" <> String.slice(Ash.UUID.generate(), 0..7) + key = "cp_" <> String.slice(Ash.UUID.generate(), 0..7) changeset |> Ash.Changeset.force_change_attribute(:public_key, key) diff --git a/core/lib/canary/accounts/user.ex b/core/lib/canary/accounts/user.ex index b0bd7ef8..70d8a46a 100644 --- a/core/lib/canary/accounts/user.ex +++ b/core/lib/canary/accounts/user.ex @@ -43,7 +43,7 @@ defmodule Canary.Accounts.User do end relationships do - belongs_to :account, Canary.Accounts.Account + belongs_to :account, Canary.Accounts.Account, allow_nil?: false many_to_many :accounts, Canary.Accounts.Account do through Canary.Accounts.AccountUser diff --git a/core/lib/canary/github/app.ex b/core/lib/canary/github/app.ex index 0b659f90..29802f5b 100644 --- a/core/lib/canary/github/app.ex +++ b/core/lib/canary/github/app.ex @@ -11,7 +11,7 @@ defmodule Canary.Github.App do end relationships do - belongs_to :account, Canary.Accounts.Account + belongs_to :account, Canary.Accounts.Account, allow_nil?: false has_many :repos, Canary.Github.Repo end diff --git a/core/lib/canary/sources/document.ex b/core/lib/canary/sources/document.ex index 8a07911b..e5cf7109 100644 --- a/core/lib/canary/sources/document.ex +++ b/core/lib/canary/sources/document.ex @@ -7,13 +7,13 @@ defmodule Canary.Sources.Document do uuid_primary_key :id create_timestamp :created_at - attribute :index_id, :uuid, allow_nil?: true + attribute :index_id, :uuid, allow_nil?: false attribute :meta, Canary.Type.DocumentMeta, allow_nil?: false attribute :chunks, {:array, Canary.Sources.Chunk}, allow_nil?: false end relationships do - belongs_to :source, Canary.Sources.Source + belongs_to :source, Canary.Sources.Source, allow_nil?: false end actions do diff --git a/core/mix.exs b/core/mix.exs index 3d70b354..f16b3dcc 100644 --- a/core/mix.exs +++ b/core/mix.exs @@ -109,8 +109,7 @@ defmodule Canary.MixProject do {:ex2ms, "~> 1.7"}, {:recon, "~> 2.5", override: true}, {:recon_ex, - github: "tatsuya6502/recon_ex", ref: "0ce4c5da777937a5bb57d3e68b9afcb9877c1c3b"}, - {:ash_archival, "~> 1.0.4"} + github: "tatsuya6502/recon_ex", ref: "0ce4c5da777937a5bb57d3e68b9afcb9877c1c3b"} ] ++ deps_eval() end diff --git a/core/mix.lock b/core/mix.lock index d36a0232..8da94042 100644 --- a/core/mix.lock +++ b/core/mix.lock @@ -1,13 +1,12 @@ %{ "absinthe_client": {:hex, :absinthe_client, "0.1.1", "1e778d587a27b85ecc35e4a5fedc64c85d9fdfd05395745c7af5345564dff54e", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}, {:req, "~> 0.4", [hex: :req, repo: "hexpm", optional: false]}, {:slipstream, "~> 1.0", [hex: :slipstream, repo: "hexpm", optional: false]}], "hexpm", "e75a28c5bb647f485e9c03bbc3a47e7783742794bd4c10f3307a495a9e7273b6"}, "acceptor_pool": {:hex, :acceptor_pool, "1.0.0", "43c20d2acae35f0c2bcd64f9d2bde267e459f0f3fd23dab26485bf518c281b21", [:rebar3], [], "hexpm", "0cbcd83fdc8b9ad2eee2067ef8b91a14858a5883cb7cd800e6fcd5803e158788"}, - "ash": {:hex, :ash, "3.4.28", "499c8cf49e406cc5a9b7c6e8e0daae616d2cbd5a02ad421db7932b2972e8badf", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:ecto, "~> 3.7", [hex: :ecto, repo: "hexpm", optional: false]}, {:ets, "~> 0.8", [hex: :ets, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.36 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: false]}, {:owl, "~> 0.11", [hex: :owl, repo: "hexpm", optional: false]}, {:picosat_elixir, "~> 0.2", [hex: :picosat_elixir, repo: "hexpm", optional: true]}, {:plug, ">= 0.0.0", [hex: :plug, repo: "hexpm", optional: true]}, {:reactor, "~> 0.9", [hex: :reactor, repo: "hexpm", optional: false]}, {:simple_sat, ">= 0.1.1 and < 1.0.0-0", [hex: :simple_sat, repo: "hexpm", optional: true]}, {:spark, ">= 2.2.29 and < 3.0.0-0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}, {:stream_data, "~> 1.0", [hex: :stream_data, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.1", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7faafca1f6b70bf2e72dbabef0d667ee2108923df465878e94f03b2ea8c24fe8"}, - "ash_archival": {:hex, :ash_archival, "1.0.4", "ece79fa7fc1f5b5f31713e561f384b13ab599902836374066374a32f98ea6350", [:mix], [{:ash, ">= 3.0.5 and < 4.0.0-0", [hex: :ash, repo: "hexpm", optional: false]}], "hexpm", "66fadbd8a381d0632748677df37dc19ca5dcf4e0f65ec03f93e62f63d3cd5b40"}, - "ash_authentication": {:hex, :ash_authentication, "4.2.0", "e2edea587c97d9ceeaf51fc7b9417b5c7dc32863cb36b44e3534062e9b3a2ce5", [:mix], [{:ash, ">= 3.4.14 and < 4.0.0-0", [hex: :ash, repo: "hexpm", optional: false]}, {:ash_postgres, "~> 2.0", [hex: :ash_postgres, repo: "hexpm", optional: true]}, {:assent, ">= 0.2.8 and < 1.0.0-0", [hex: :assent, repo: "hexpm", optional: false]}, {:bcrypt_elixir, "~> 3.0", [hex: :bcrypt_elixir, repo: "hexpm", optional: false]}, {:castore, "~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:finch, "~> 0.19", [hex: :finch, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.43 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:joken, "~> 2.5", [hex: :joken, repo: "hexpm", optional: false]}, {:plug, "~> 1.13", [hex: :plug, repo: "hexpm", optional: false]}, {:spark, "~> 2.0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}], "hexpm", "5aafd9be1f60c647c8faf5da78028b98b0dfd1829e09306e2c07ce34a62b616c"}, - "ash_authentication_phoenix": {:hex, :ash_authentication_phoenix, "2.1.5", "7b9cb48328296c9ab3c003a6c809187457f63ad44597cf31f5c402190e2e582f", [:mix], [{:ash, "~> 3.0", [hex: :ash, repo: "hexpm", optional: false]}, {:ash_authentication, "~> 4.1", [hex: :ash_authentication, repo: "hexpm", optional: false]}, {:ash_phoenix, "~> 2.0", [hex: :ash_phoenix, repo: "hexpm", optional: false]}, {:bcrypt_elixir, "~> 3.0", [hex: :bcrypt_elixir, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.39 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.6", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_html_helpers, "~> 1.0", [hex: :phoenix_html_helpers, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.18", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:phoenix_view, "~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: false]}, {:slugify, "~> 1.3", [hex: :slugify, repo: "hexpm", optional: false]}], "hexpm", "b3a3b6d18ea96bd0de03614e6fec16a991c93f0822599d0f8a9fab0c5897d2aa"}, + "ash": {:hex, :ash, "3.4.33", "acae7fb64cab4852488c2491007ed088d7d108805deb70b453d8ee0e7ba95af8", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:ecto, "~> 3.7", [hex: :ecto, repo: "hexpm", optional: false]}, {:ets, "~> 0.8", [hex: :ets, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.61 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: false]}, {:owl, "~> 0.11", [hex: :owl, repo: "hexpm", optional: false]}, {:picosat_elixir, "~> 0.2", [hex: :picosat_elixir, repo: "hexpm", optional: true]}, {:plug, ">= 0.0.0", [hex: :plug, repo: "hexpm", optional: true]}, {:reactor, "~> 0.9", [hex: :reactor, repo: "hexpm", optional: false]}, {:simple_sat, ">= 0.1.1 and < 1.0.0-0", [hex: :simple_sat, repo: "hexpm", optional: true]}, {:spark, ">= 2.2.29 and < 3.0.0-0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}, {:stream_data, "~> 1.0", [hex: :stream_data, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.1", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "5ed1f608888f2a03dcc94dad8e4d7ccf91f1250571b7e431b2833cc4125da905"}, + "ash_authentication": {:hex, :ash_authentication, "4.2.3", "92e5ca999273bdcccb372582f4d71a64d234a2bc8ca3d5ecab63f7a92234599e", [:mix], [{:ash, ">= 3.4.29 and < 4.0.0-0", [hex: :ash, repo: "hexpm", optional: false]}, {:ash_postgres, "~> 2.0", [hex: :ash_postgres, repo: "hexpm", optional: true]}, {:assent, ">= 0.2.8 and < 1.0.0-0", [hex: :assent, repo: "hexpm", optional: false]}, {:bcrypt_elixir, "~> 3.0", [hex: :bcrypt_elixir, repo: "hexpm", optional: false]}, {:castore, "~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:finch, "~> 0.19", [hex: :finch, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.62 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:joken, "~> 2.5", [hex: :joken, repo: "hexpm", optional: false]}, {:plug, "~> 1.13", [hex: :plug, repo: "hexpm", optional: false]}, {:spark, "~> 2.0", [hex: :spark, repo: "hexpm", optional: false]}, {:splode, "~> 0.2", [hex: :splode, repo: "hexpm", optional: false]}], "hexpm", "76d8922f8ca1dae6fb600fadb538b730b1648ac1f028d3be0a4f8a83d0d4e2ae"}, + "ash_authentication_phoenix": {:hex, :ash_authentication_phoenix, "2.1.9", "27f10a01342609673e9dd043fa0a0c9547fa8f86081138cff166a6612d7f5dca", [:mix], [{:ash, "~> 3.0", [hex: :ash, repo: "hexpm", optional: false]}, {:ash_authentication, "~> 4.1", [hex: :ash_authentication, repo: "hexpm", optional: false]}, {:ash_phoenix, "~> 2.0", [hex: :ash_phoenix, repo: "hexpm", optional: false]}, {:bcrypt_elixir, "~> 3.0", [hex: :bcrypt_elixir, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.62 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.6", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_html_helpers, "~> 1.0", [hex: :phoenix_html_helpers, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.18", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:phoenix_view, "~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: false]}, {:slugify, "~> 1.3", [hex: :slugify, repo: "hexpm", optional: false]}], "hexpm", "6e0b54930c3f486bd4ab590dd65d2fbfe5cb864b51061eba1e99bb0f669292c0"}, "ash_cloak": {:hex, :ash_cloak, "0.1.2", "d70338491ad8b6a18c691c25a2a236e18bb726c551642f56d996d25a9f1e779b", [:mix], [{:ash, "~> 3.0", [hex: :ash, repo: "hexpm", optional: false]}], "hexpm", "8b13dc44d8c58a7a876e537b3eab03672ac04f442568b4f9c1d70ccd9522812f"}, - "ash_phoenix": {:hex, :ash_phoenix, "2.1.4", "b4bcb718c7819671b6c59729b3c1550fc73c37d0115a55be8e0651404b2e2818", [:mix], [{:ash, "~> 3.0", [hex: :ash, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.5.6 or ~> 1.6", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.20.3 or ~> 1.0", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}], "hexpm", "d44004070e07ec342e754144a3474c45b7d38f0d47de5cbbbfb6219b65eebdf1"}, - "ash_postgres": {:hex, :ash_postgres, "2.4.8", "f9439e1a0a079b8ffd26c28c2434701ca17f82acd1affaf7c29b4a42f4e74526", [:mix], [{:ash, ">= 3.4.28 and < 4.0.0-0", [hex: :ash, repo: "hexpm", optional: false]}, {:ash_sql, ">= 0.2.30 and < 1.0.0-0", [hex: :ash_sql, repo: "hexpm", optional: false]}, {:ecto, ">= 3.12.1 and < 4.0.0-0", [hex: :ecto, repo: "hexpm", optional: false]}, {:ecto_sql, "~> 3.12", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.42 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:inflex, "~> 2.1", [hex: :inflex, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:owl, "~> 0.11", [hex: :owl, repo: "hexpm", optional: false]}, {:postgrex, ">= 0.0.0", [hex: :postgrex, repo: "hexpm", optional: false]}], "hexpm", "bfd013c838d62977d71156220a43a287cab0c4e3f315f692123a316bc52319a4"}, + "ash_phoenix": {:hex, :ash_phoenix, "2.1.6", "f92661bed9573905e14e0688328738bc9cbb8140c87077c49fea3b0dd89d676b", [:mix], [{:ash, ">= 3.4.31 and < 4.0.0-0", [hex: :ash, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.5.6 or ~> 1.6", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.20.3 or ~> 1.0-rc.1", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}], "hexpm", "3636743924ac45d689cf38eeb4059105feebb48c32c0d117abb3dc3c70d2d797"}, + "ash_postgres": {:hex, :ash_postgres, "2.4.9", "7d41ab0baf2500f3713063e1112cf8b8f1f7defbffafcd2f5d41fa12c92cdf07", [:mix], [{:ash, ">= 3.4.28 and < 4.0.0-0", [hex: :ash, repo: "hexpm", optional: false]}, {:ash_sql, ">= 0.2.30 and < 1.0.0-0", [hex: :ash_sql, repo: "hexpm", optional: false]}, {:ecto, ">= 3.12.1 and < 4.0.0-0", [hex: :ecto, repo: "hexpm", optional: false]}, {:ecto_sql, "~> 3.12", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:igniter, ">= 0.3.42 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:inflex, "~> 2.1", [hex: :inflex, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:owl, "~> 0.11", [hex: :owl, repo: "hexpm", optional: false]}, {:postgrex, ">= 0.0.0", [hex: :postgrex, repo: "hexpm", optional: false]}], "hexpm", "97976c2752f7cf8e8d4e4ad0a9abb03c4e5b78bc47cb61f6698038f8699b7b08"}, "ash_sql": {:hex, :ash_sql, "0.2.36", "e5722123de5b726ad3185ef8c8ce5ef17b78d3409e822cadeadc6ba5110601fe", [:mix], [{:ash, ">= 3.1.7 and < 4.0.0-0", [hex: :ash, repo: "hexpm", optional: false]}, {:ecto, "~> 3.9", [hex: :ecto, repo: "hexpm", optional: false]}, {:ecto_sql, "~> 3.9", [hex: :ecto_sql, repo: "hexpm", optional: false]}], "hexpm", "a95b5ebccfe5e74d7fc4e46b104abae4d1003b53cbc8418fcb5fa3c6e0c081a9"}, "assent": {:hex, :assent, "0.2.10", "27e544c3428996c8ad744d473b3ceae86e4eb7db6bc7432676420e67e9148dd7", [:mix], [{:certifi, ">= 0.0.0", [hex: :certifi, repo: "hexpm", optional: true]}, {:finch, "~> 0.15", [hex: :finch, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:jose, "~> 1.8", [hex: :jose, repo: "hexpm", optional: true]}, {:mint, "~> 1.0", [hex: :mint, repo: "hexpm", optional: true]}, {:req, "~> 0.4", [hex: :req, repo: "hexpm", optional: true]}, {:ssl_verify_fun, ">= 0.0.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: true]}], "hexpm", "8483bf9621e994795a70a4ad8fda725abfb6a9675d63a9bfd4217c76d4a2d82a"}, "axon": {:hex, :axon, "0.6.1", "1d042fdba1c1b4413a3d65800524feebd1bc8ed218f8cdefe7a97510c3f427f3", [:mix], [{:kino, "~> 0.7", [hex: :kino, repo: "hexpm", optional: true]}, {:kino_vega_lite, "~> 0.1.7", [hex: :kino_vega_lite, repo: "hexpm", optional: true]}, {:nx, "~> 0.6.0 or ~> 0.7.0", [hex: :nx, repo: "hexpm", optional: false]}, {:polaris, "~> 0.1", [hex: :polaris, repo: "hexpm", optional: false]}, {:table_rex, "~> 3.1.1", [hex: :table_rex, repo: "hexpm", optional: true]}], "hexpm", "d6b0ae2f0dd284f6bf702edcab71e790d6c01ca502dd06c4070836554f5a48e1"}, @@ -45,7 +44,7 @@ "finch": {:hex, :finch, "0.19.0", "c644641491ea854fc5c1bbaef36bfc764e3f08e7185e1f084e35e0672241b76d", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mint, "~> 1.6.2 or ~> 1.7", [hex: :mint, repo: "hexpm", optional: false]}, {:nimble_options, "~> 0.4 or ~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:nimble_pool, "~> 1.1", [hex: :nimble_pool, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "fc5324ce209125d1e2fa0fcd2634601c52a787aff1cd33ee833664a5af4ea2b6"}, "floki": {:hex, :floki, "0.36.2", "a7da0193538c93f937714a6704369711998a51a6164a222d710ebd54020aa7a3", [:mix], [], "hexpm", "a8766c0bc92f074e5cb36c4f9961982eda84c5d2b8e979ca67f5c268ec8ed580"}, "gettext": {:hex, :gettext, "0.25.0", "98a95a862a94e2d55d24520dd79256a15c87ea75b49673a2e2f206e6ebc42e5d", [:mix], [{:expo, "~> 0.5.1 or ~> 1.0", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "38e5d754e66af37980a94fb93bb20dcde1d2361f664b0a19f01e87296634051f"}, - "glob_ex": {:hex, :glob_ex, "0.1.9", "b97a25392f5339e49f587e5b24c468c6a4f38299febd5ec85c5f8bb2e42b5c1e", [:mix], [], "hexpm", "be72e584ad1d8776a4d134d4b6da1bac8b80b515cdadf0120e0920b9978d7f01"}, + "glob_ex": {:hex, :glob_ex, "0.1.10", "d819a368637495a5c1962ef34f48fe4e9a09032410b96ade5758f2cd1cc5fcde", [:mix], [], "hexpm", "c75357e57d71c85ef8ef7269b6e787dce3f0ff71e585f79a90e4d5477c532b90"}, "gproc": {:hex, :gproc, "0.9.1", "f1df0364423539cf0b80e8201c8b1839e229e5f9b3ccb944c5834626998f5b8c", [:rebar3], [], "hexpm", "905088e32e72127ed9466f0bac0d8e65704ca5e73ee5a62cb073c3117916d507"}, "grpcbox": {:hex, :grpcbox, "0.17.1", "6e040ab3ef16fe699ffb513b0ef8e2e896da7b18931a1ef817143037c454bcce", [:rebar3], [{:acceptor_pool, "~> 1.0.0", [hex: :acceptor_pool, repo: "hexpm", optional: false]}, {:chatterbox, "~> 0.15.1", [hex: :ts_chatterbox, repo: "hexpm", optional: false]}, {:ctx, "~> 0.6.0", [hex: :ctx, repo: "hexpm", optional: false]}, {:gproc, "~> 0.9.1", [hex: :gproc, repo: "hexpm", optional: false]}], "hexpm", "4a3b5d7111daabc569dc9cbd9b202a3237d81c80bf97212fbc676832cb0ceb17"}, "gun": {:hex, :gun, "2.1.0", "b4e4cbbf3026d21981c447e9e7ca856766046eff693720ba43114d7f5de36e87", [:make, :rebar3], [{:cowlib, "2.13.0", [hex: :cowlib, repo: "hexpm", optional: false]}], "hexpm", "52fc7fc246bfc3b00e01aea1c2854c70a366348574ab50c57dfe796d24a0101d"}, @@ -58,7 +57,7 @@ "html5ever": {:hex, :html5ever, "0.16.1", "3dccc3349e0c3e5f5542bcc09253e6246d174391aca692bdecccd446a1c62132", [:mix], [{:rustler, ">= 0.0.0", [hex: :rustler, repo: "hexpm", optional: true]}, {:rustler_precompiled, "~> 0.6.0 or ~> 0.7.0", [hex: :rustler_precompiled, repo: "hexpm", optional: false]}], "hexpm", "6eb06b7796eb100bc815dffd3f500de376a426a088a8405402305cdd8e7cc08a"}, "httpoison": {:hex, :httpoison, "2.2.1", "87b7ed6d95db0389f7df02779644171d7319d319178f6680438167d7b69b1f3d", [:mix], [{:hackney, "~> 1.17", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "51364e6d2f429d80e14fe4b5f8e39719cacd03eb3f9a9286e61e216feac2d2df"}, "idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"}, - "igniter": {:hex, :igniter, "0.3.57", "ecbbe7b0eeb62e28b33c84af3ab554da11fb1bba1cf9ad5473ed776b26fb30a6", [:mix], [{:glob_ex, "~> 0.1.7", [hex: :glob_ex, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:rewrite, "~> 0.9", [hex: :rewrite, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.4", [hex: :sourceror, repo: "hexpm", optional: false]}, {:spitfire, ">= 0.1.3 and < 1.0.0-0", [hex: :spitfire, repo: "hexpm", optional: false]}], "hexpm", "086a9430bc55b7ace4eb67a1c71649a25f9cf64c634df405aae2987b485b3fb4"}, + "igniter": {:hex, :igniter, "0.3.67", "e39c10f17ecb06be4e6a969b3278d34419c4faf7224017ad03d07783ebd29f11", [:mix], [{:glob_ex, "~> 0.1.7", [hex: :glob_ex, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:rewrite, "~> 0.9", [hex: :rewrite, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.4", [hex: :sourceror, repo: "hexpm", optional: false]}, {:spitfire, ">= 0.1.3 and < 1.0.0-0", [hex: :spitfire, repo: "hexpm", optional: false]}], "hexpm", "52c73613f33e2da12a84633fc16d0686d1f648cfecb133b8d48a913f8d104a51"}, "inflex": {:hex, :inflex, "2.1.0", "a365cf0821a9dacb65067abd95008ca1b0bb7dcdd85ae59965deef2aa062924c", [:mix], [], "hexpm", "14c17d05db4ee9b6d319b0bff1bdf22aa389a25398d1952c7a0b5f3d93162dd8"}, "iterex": {:hex, :iterex, "0.1.2", "58f9b9b9a22a55cbfc7b5234a9c9c63eaac26d276b3db80936c0e1c60355a5a6", [:mix], [], "hexpm", "2e103b8bcc81757a9af121f6dc0df312c9a17220f302b1193ef720460d03029d"}, "jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"}, @@ -83,7 +82,7 @@ "nx_image": {:hex, :nx_image, "0.1.2", "0c6e3453c1dc30fc80c723a54861204304cebc8a89ed3b806b972c73ee5d119d", [:mix], [{:nx, "~> 0.4", [hex: :nx, repo: "hexpm", optional: false]}], "hexpm", "9161863c42405ddccb6dbbbeae078ad23e30201509cc804b3b3a7c9e98764b81"}, "nx_signal": {:hex, :nx_signal, "0.2.0", "e1ca0318877b17c81ce8906329f5125f1e2361e4c4235a5baac8a95ee88ea98e", [:mix], [{:nx, "~> 0.6", [hex: :nx, repo: "hexpm", optional: false]}], "hexpm", "7247e5e18a177a59c4cb5355952900c62fdeadeb2bad02a9a34237b68744e2bb"}, "oapi_github": {:hex, :oapi_github, "0.3.3", "16c6ec7415d5da61e34206574392d1be9135656acf3ca6508bd3c76dd8fc8569", [:mix], [{:faker, "~> 0.15", [hex: :faker, repo: "hexpm", optional: false]}, {:httpoison, "~> 1.7 or ~> 2.0", [hex: :httpoison, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:jose, "~> 1.0", [hex: :jose, repo: "hexpm", optional: true]}, {:opentelemetry_api, "~> 1.0", [hex: :opentelemetry_api, repo: "hexpm", optional: true]}, {:opentelemetry_semantic_conventions, "~> 0.2", [hex: :opentelemetry_semantic_conventions, repo: "hexpm", optional: true]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: true]}, {:redix, "~> 1.0", [hex: :redix, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.2 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "e4033236474c98943097ce714b4d5f9760a08f395ace0e278adb44701093f51a"}, - "oban": {:hex, :oban, "2.17.12", "33fb0cbfb92b910d48dd91a908590fe3698bb85eacec8cd0d9bc6aa13dddd6d6", [:mix], [{:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ecto_sqlite3, "~> 0.9", [hex: :ecto_sqlite3, repo: "hexpm", optional: true]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.16", [hex: :postgrex, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7a647d6cd6bb300073db17faabce22d80ae135da3baf3180a064fa7c4fa046e3"}, + "oban": {:hex, :oban, "2.18.3", "1608c04f8856c108555c379f2f56bc0759149d35fa9d3b825cb8a6769f8ae926", [:mix], [{:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ecto_sqlite3, "~> 0.9", [hex: :ecto_sqlite3, repo: "hexpm", optional: true]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.16", [hex: :postgrex, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "36ca6ca84ef6518f9c2c759ea88efd438a3c81d667ba23b02b062a0aa785475e"}, "open_api_spex": {:hex, :open_api_spex, "3.21.2", "6a704f3777761feeb5657340250d6d7332c545755116ca98f33d4b875777e1e5", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:plug, "~> 1.7", [hex: :plug, repo: "hexpm", optional: false]}, {:poison, "~> 3.0 or ~> 4.0 or ~> 5.0 or ~> 6.0", [hex: :poison, repo: "hexpm", optional: true]}, {:ymlr, "~> 2.0 or ~> 3.0 or ~> 4.0 or ~> 5.0", [hex: :ymlr, repo: "hexpm", optional: true]}], "hexpm", "f42ae6ed668b895ebba3e02773cfb4b41050df26f803f2ef634c72a7687dc387"}, "opentelemetry": {:hex, :opentelemetry, "1.4.0", "f928923ed80adb5eb7894bac22e9a198478e6a8f04020ae1d6f289fdcad0b498", [:rebar3], [{:opentelemetry_api, "~> 1.3.0", [hex: :opentelemetry_api, repo: "hexpm", optional: false]}, {:opentelemetry_semantic_conventions, "~> 0.2", [hex: :opentelemetry_semantic_conventions, repo: "hexpm", optional: false]}], "hexpm", "50b32ce127413e5d87b092b4d210a3449ea80cd8224090fe68d73d576a3faa15"}, "opentelemetry_api": {:hex, :opentelemetry_api, "1.3.1", "83b4713593f80562d9643c4ab0b6f80f3c5fa4c6d0632c43e11b2ccb6b04dfa7", [:mix, :rebar3], [{:opentelemetry_semantic_conventions, "~> 0.2", [hex: :opentelemetry_semantic_conventions, repo: "hexpm", optional: false]}], "hexpm", "9e8a5cc38671e3ac61be48abe5f6b3afdbbb50a1dc08b7950c56f169611505c1"}, @@ -132,7 +131,7 @@ "slipstream": {:hex, :slipstream, "1.1.1", "7e56f62f1a9ee81351e3c36f57b9b187e00dc2f470e70ba46ea7ad16e80b061f", [:mix], [{:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:mint_web_socket, "~> 0.2 or ~> 1.0", [hex: :mint_web_socket, repo: "hexpm", optional: false]}, {:nimble_options, "~> 0.1 or ~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "c20e420cde1654329d38ec3aa1c0e4debbd4c91ca421491e7984ad4644e638a6"}, "slugify": {:hex, :slugify, "1.3.1", "0d3b8b7e5c1eeaa960e44dce94382bee34a39b3ea239293e457a9c5b47cc6fd3", [:mix], [], "hexpm", "cb090bbeb056b312da3125e681d98933a360a70d327820e4b7f91645c4d8be76"}, "sourceror": {:hex, :sourceror, "1.6.0", "9907884e1449a4bd7dbaabe95088ed4d9a09c3c791fb0103964e6316bc9448a7", [:mix], [], "hexpm", "e90aef8c82dacf32c89c8ef83d1416fc343cd3e5556773eeffd2c1e3f991f699"}, - "spark": {:hex, :spark, "2.2.32", "cb84983c56e57670dd87a7a008a860d6e69626c814b0b5e25194b495ce56c7ba", [:mix], [{:igniter, ">= 0.3.36 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.2", [hex: :sourceror, repo: "hexpm", optional: false]}], "hexpm", "ee5a0a4ddb16ad8f5a792a7b1883498d3090c60101af77a866f76d54962478e8"}, + "spark": {:hex, :spark, "2.2.35", "1c0bb30f340151eca24164885935de39e6ada4010555f444c813d0488990f8f3", [:mix], [{:igniter, ">= 0.3.64 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.2", [hex: :sourceror, repo: "hexpm", optional: false]}], "hexpm", "f242d6385c287389034a0e146d8f025b5c9ab777f1ae5cf0fdfc9209db6ae748"}, "spitfire": {:hex, :spitfire, "0.1.3", "7ea0f544005dfbe48e615ed90250c9a271bfe126914012023fd5e4b6b82b7ec7", [:mix], [], "hexpm", "d53b5107bcff526a05c5bb54c95e77b36834550affd5830c9f58760e8c543657"}, "splode": {:hex, :splode, "0.2.4", "71046334c39605095ca4bed5d008372e56454060997da14f9868534c17b84b53", [:mix], [], "hexpm", "ca3b95f0d8d4b482b5357954fec857abd0fa3ea509d623334c1328e7382044c2"}, "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.7", "354c321cf377240c7b8716899e182ce4890c5938111a1296add3ec74cf1715df", [:make, :mix, :rebar3], [], "hexpm", "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"}, diff --git a/core/priv/repo/migrations/20241020102959_remove_archival_in_project.exs b/core/priv/repo/migrations/20241020102959_remove_archival_in_project.exs new file mode 100644 index 00000000..aa54ab02 --- /dev/null +++ b/core/priv/repo/migrations/20241020102959_remove_archival_in_project.exs @@ -0,0 +1,21 @@ +defmodule Canary.Repo.Migrations.RemoveArchivalInProject 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(:projects) do + remove :archived_at + end + end + + def down do + alter table(:projects) do + add :archived_at, :utc_datetime_usec + end + end +end diff --git a/core/priv/repo/migrations/20241020110009_add_missing_non_null.exs b/core/priv/repo/migrations/20241020110009_add_missing_non_null.exs new file mode 100644 index 00000000..d1b0c4cc --- /dev/null +++ b/core/priv/repo/migrations/20241020110009_add_missing_non_null.exs @@ -0,0 +1,47 @@ +defmodule Canary.Repo.Migrations.AddMissingNonNull 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(:users) do + modify :account_id, :uuid, null: false + end + + alter table(:github_apps) do + modify :account_id, :uuid, null: false + end + + alter table(:documents) do + modify :source_id, :uuid, null: false + modify :index_id, :uuid, null: false + end + + alter table(:billings) do + modify :account_id, :uuid, null: false + end + end + + def down do + alter table(:billings) do + modify :account_id, :uuid, null: true + end + + alter table(:documents) do + modify :index_id, :uuid, null: true + modify :source_id, :uuid, null: true + end + + alter table(:github_apps) do + modify :account_id, :uuid, null: true + end + + alter table(:users) do + modify :account_id, :uuid, null: true + end + end +end diff --git a/core/priv/resource_snapshots/repo/billings/20241010064720.json b/core/priv/resource_snapshots/repo/billings/20241020110009.json similarity index 95% rename from core/priv/resource_snapshots/repo/billings/20241010064720.json rename to core/priv/resource_snapshots/repo/billings/20241020110009.json index 9ad7e9d7..d9383d54 100644 --- a/core/priv/resource_snapshots/repo/billings/20241010064720.json +++ b/core/priv/resource_snapshots/repo/billings/20241020110009.json @@ -51,7 +51,7 @@ "type": "bigint" }, { - "allow_nil?": true, + "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, @@ -85,7 +85,7 @@ "custom_indexes": [], "custom_statements": [], "has_create_action": true, - "hash": "FD28B0654BC49759BC9B939BDBD09B20A742FF144F4149BCC2AF78A4FE72FC3F", + "hash": "57ED3678A5CE98C319BE007B14A8A4633C6CC4A82B2685FA469F0E9902761284", "identities": [], "multitenancy": { "attribute": null, diff --git a/core/priv/resource_snapshots/repo/documents/20241018074443.json b/core/priv/resource_snapshots/repo/documents/20241020110009.json similarity index 94% rename from core/priv/resource_snapshots/repo/documents/20241018074443.json rename to core/priv/resource_snapshots/repo/documents/20241020110009.json index 04b05948..0899eaa1 100644 --- a/core/priv/resource_snapshots/repo/documents/20241018074443.json +++ b/core/priv/resource_snapshots/repo/documents/20241020110009.json @@ -21,7 +21,7 @@ "type": "utc_datetime_usec" }, { - "allow_nil?": true, + "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, @@ -51,7 +51,7 @@ "type": ["array", "map"] }, { - "allow_nil?": true, + "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, @@ -85,7 +85,7 @@ "custom_indexes": [], "custom_statements": [], "has_create_action": true, - "hash": "574A39D3BDF92D9BCCDD3B528C78D15B1ACDC50645B19F6E619EAF95D7BCA1B0", + "hash": "BEF0A88021C81171A3E31B7CD8D5DE915085599E67B8246F7266D9AB5D009403", "identities": [], "multitenancy": { "attribute": null, diff --git a/core/priv/resource_snapshots/repo/github_apps/20241010064720.json b/core/priv/resource_snapshots/repo/github_apps/20241020110009.json similarity index 93% rename from core/priv/resource_snapshots/repo/github_apps/20241010064720.json rename to core/priv/resource_snapshots/repo/github_apps/20241020110009.json index 22c88a1c..949171ac 100644 --- a/core/priv/resource_snapshots/repo/github_apps/20241010064720.json +++ b/core/priv/resource_snapshots/repo/github_apps/20241020110009.json @@ -21,7 +21,7 @@ "type": "bigint" }, { - "allow_nil?": true, + "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, @@ -55,7 +55,7 @@ "custom_indexes": [], "custom_statements": [], "has_create_action": true, - "hash": "F46116CD6F8A3AE84C1D92026D9A0657FC8EC83004C746B2C704FAF583FF9A9D", + "hash": "F0E9089AFBBB44AD28CBC3BDEC1B43D751DD42CD59F58586C76CC597E16B705A", "identities": [], "multitenancy": { "attribute": null, diff --git a/core/priv/resource_snapshots/repo/projects/20241010064720.json b/core/priv/resource_snapshots/repo/projects/20241020102959.json similarity index 88% rename from core/priv/resource_snapshots/repo/projects/20241010064720.json rename to core/priv/resource_snapshots/repo/projects/20241020102959.json index 6dfcb9c4..a2944f4a 100644 --- a/core/priv/resource_snapshots/repo/projects/20241010064720.json +++ b/core/priv/resource_snapshots/repo/projects/20241020102959.json @@ -68,16 +68,6 @@ "size": null, "source": "account_id", "type": "uuid" - }, - { - "allow_nil?": true, - "default": "nil", - "generated?": false, - "primary_key?": false, - "references": null, - "size": null, - "source": "archived_at", - "type": "utc_datetime_usec" } ], "base_filter": null, @@ -85,7 +75,7 @@ "custom_indexes": [], "custom_statements": [], "has_create_action": true, - "hash": "7957B77A672EC2669B596975B759FBA1E04FC107ED445633C5D4263F822F9B50", + "hash": "1DE1AB13A125A7921552F2A16F494C5FA8796D0216CE650F2156CEAC1A89DBB1", "identities": [ { "all_tenants?": false, diff --git a/core/priv/resource_snapshots/repo/users/20241010064720.json b/core/priv/resource_snapshots/repo/users/20241020110009.json similarity index 95% rename from core/priv/resource_snapshots/repo/users/20241010064720.json rename to core/priv/resource_snapshots/repo/users/20241020110009.json index 6e33d98b..97e80706 100644 --- a/core/priv/resource_snapshots/repo/users/20241010064720.json +++ b/core/priv/resource_snapshots/repo/users/20241020110009.json @@ -41,7 +41,7 @@ "type": "text" }, { - "allow_nil?": true, + "allow_nil?": false, "default": "nil", "generated?": false, "primary_key?": false, @@ -75,7 +75,7 @@ "custom_indexes": [], "custom_statements": [], "has_create_action": true, - "hash": "B07490F52CE7402A65E3F275FEAF5F4AA48543E4AC1E9B3FE6BB4E8C737044AE", + "hash": "3F15DD19F575C2BBAECACD7481BD178DA5C70D115647742DAB1DBFAE5AB2002B", "identities": [ { "all_tenants?": false,