Skip to content

Commit

Permalink
Add support for int64 app_build_number (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkonidas authored Nov 7, 2024
1 parent eab5b69 commit 183f05d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plexus_web/controllers/api/v1/schemas/rating.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defmodule PlexusWeb.API.V1.Schemas.Rating do
android_version: %Schema{type: :string, description: "Android Version"},
app_package: %Schema{type: :string, description: "App Package"},
app_version: %Schema{type: :string, description: "App Version"},
app_build_number: %Schema{type: :integer, description: "App Build Number"},
app_build_number: %Schema{type: :integer, format: :int64, description: "App Build Number"},
rom_name: %Schema{type: :string, description: "ROM Name"},
rom_build: %Schema{type: :string, description: "ROM Build"},
installation_source: %Schema{type: :string, description: "Installation Source"},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
defmodule Plexus.Repo.Migrations.ChangeAppBuildNumberToBigint do
use Ecto.Migration

def change do
alter table(:ratings) do
modify :app_build_number, :bigint, from: :integer
end
end
end

0 comments on commit 183f05d

Please sign in to comment.