feat: use AprilTag instead of QR code
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user