feat: use AprilTag instead of QR code

This commit is contained in:
Schuwi
2025-09-14 18:52:24 +02:00
parent 788ad54724
commit 589c9964aa
600 changed files with 12814 additions and 122 deletions

View File

@@ -0,0 +1,18 @@
defmodule ComponentsElixir.Repo.Migrations.DropQrCodeOldColumn do
use Ecto.Migration
def up do
# Drop the qr_code_old column since we've fully migrated to AprilTags
alter table(:storage_locations) do
remove :qr_code_old
end
end
def down do
# If we need to rollback, re-add the qr_code_old column
# Note: This will not restore the original data
alter table(:storage_locations) do
add :qr_code_old, :string, null: false, default: ""
end
end
end