Add: migration: add sAMAccountName to Computers#966
Conversation
There was a problem hiding this comment.
Pull request overview
Adds an Alembic migration to backfill sAMAccountName attributes for COMPUTER directories.
Changes:
- Updated the
interfacesubproject pointer. - Added an async Alembic migration to add/remove the
sAMAccountNameattribute for computer directories.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| interface | Bumps subproject commit reference. |
| app/alembic/versions/df4287898910_add_samaccountname_to_computers.py | Adds upgrade/downgrade migration to backfill/remove sAMAccountName for computer directories. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
app/alembic/versions/df4287898910_add_samaccountname_to_computers.py
Outdated
Show resolved
Hide resolved
app/alembic/versions/df4287898910_add_samaccountname_to_computers.py
Outdated
Show resolved
Hide resolved
app/alembic/versions/df4287898910_add_samaccountname_to_computers.py
Outdated
Show resolved
Hide resolved
app/alembic/versions/df4287898910_add_samaccountname_to_computers.py
Outdated
Show resolved
Hide resolved
app/alembic/versions/df4287898910_add_samaccountname_to_computers.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
app/alembic/versions/df4287898910_add_samaccountname_to_computers.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Дано:
В рамках ПР #925 к Директориям-Компьютерам при создании добавляется атрибут
sAMAccountName.Проблема:
К уже существующим Директориям-Компьютерам не был добавлен атрибут
sAMAccountName.Решение:
Через миграцию добавить к уже существующим Директориям-Компьютерам атрибут
sAMAccountName.Задача: 1364