style: format codebase
This commit is contained in:
@@ -14,7 +14,9 @@ defmodule ComponentsElixir.Repo.Migrations.MigrateQrToApriltag do
|
||||
create unique_index(:storage_locations, [:apriltag_id])
|
||||
|
||||
# Add constraint to ensure apriltag_id is in valid range (0-586 for tag36h11)
|
||||
create constraint(:storage_locations, :apriltag_id_range, check: "apriltag_id >= 0 AND apriltag_id <= 586")
|
||||
create constraint(:storage_locations, :apriltag_id_range,
|
||||
check: "apriltag_id >= 0 AND apriltag_id <= 586"
|
||||
)
|
||||
|
||||
# Note: We keep qr_code_old for now in case we need to rollback
|
||||
# It can be removed in a future migration after confirming everything works
|
||||
|
||||
Reference in New Issue
Block a user