Skip to content

Commit 183f05d

Browse files
authored
Add support for int64 app_build_number (#370)
1 parent eab5b69 commit 183f05d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

lib/plexus_web/controllers/api/v1/schemas/rating.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule PlexusWeb.API.V1.Schemas.Rating do
1212
android_version: %Schema{type: :string, description: "Android Version"},
1313
app_package: %Schema{type: :string, description: "App Package"},
1414
app_version: %Schema{type: :string, description: "App Version"},
15-
app_build_number: %Schema{type: :integer, description: "App Build Number"},
15+
app_build_number: %Schema{type: :integer, format: :int64, description: "App Build Number"},
1616
rom_name: %Schema{type: :string, description: "ROM Name"},
1717
rom_build: %Schema{type: :string, description: "ROM Build"},
1818
installation_source: %Schema{type: :string, description: "Installation Source"},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmodule Plexus.Repo.Migrations.ChangeAppBuildNumberToBigint do
2+
use Ecto.Migration
3+
4+
def change do
5+
alter table(:ratings) do
6+
modify :app_build_number, :bigint, from: :integer
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)