-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Radio backend + reorder CSV (#163)
- Loading branch information
Showing
5 changed files
with
27 additions
and
11 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
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
9 changes: 9 additions & 0 deletions
9
priv/repo/migrations/20241023111912_alter_operator_sign_ins_radio.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,9 @@ | ||
defmodule Orbit.Repo.Migrations.AlterSigninsRadio do | ||
use Ecto.Migration | ||
|
||
def change do | ||
alter table(:operator_sign_ins) do | ||
add :radio_number, :string | ||
end | ||
end | ||
end |
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 |
---|---|---|
|
@@ -72,24 +72,26 @@ defmodule OrbitWeb.SignInExportControllerTest do | |
|
||
assert [ | ||
%{ | ||
"Location" => "Orient Heights", | ||
"Method" => "type", | ||
"Time" => "2024-08-28 17:00:00", | ||
"Signer Badge #" => "1234", | ||
"Signer Name" => "Preferredy Person", | ||
"Radio" => "22", | ||
"Official Badge #" => "9898", | ||
"Official Name" => "Fake Official", | ||
"Text Version" => "1", | ||
"Time" => "2024-08-28 17:00:00" | ||
"Location" => "Orient Heights", | ||
"Method" => "type", | ||
"Text Version" => "1" | ||
}, | ||
%{ | ||
"Location" => "Orient Heights", | ||
"Method" => "tap", | ||
"Time" => "2024-08-28 17:10:00", | ||
"Signer Badge #" => "5678", | ||
"Signer Name" => "Preferredy Person", | ||
"Radio" => "22", | ||
"Official Badge #" => "", | ||
"Official Name" => "[email protected]", | ||
"Text Version" => "1", | ||
"Time" => "2024-08-28 17:10:00" | ||
"Location" => "Orient Heights", | ||
"Method" => "tap", | ||
"Text Version" => "1" | ||
} | ||
] = result | ||
end | ||
|
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