Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MigrateFromOTRS: use Kernel::System::DB::ListTables() #576

Closed
bschmalhofer opened this issue Oct 26, 2020 · 2 comments
Closed

MigrateFromOTRS: use Kernel::System::DB::ListTables() #576

bschmalhofer opened this issue Oct 26, 2020 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@bschmalhofer
Copy link
Contributor

bschmalhofer commented Oct 26, 2020

There is a method in Kernel::System::DB to get the tables of a schema. No need to have a migration specific version of this function.

@bschmalhofer bschmalhofer added the enhancement New feature or request label Oct 26, 2020
@bschmalhofer bschmalhofer modified the milestones: OTOBO 10.1, OTOBO 10.0.6 Oct 26, 2020
@bschmalhofer
Copy link
Contributor Author

Sneak this issue into 10.0.6.

@bschmalhofer bschmalhofer changed the title MigrateFromOTRS: use DBI::tables() MigrateFromOTRS: use Kernel::System::DB::ListTab:wles() Oct 31, 2020
@bschmalhofer bschmalhofer changed the title MigrateFromOTRS: use Kernel::System::DB::ListTab:wles() MigrateFromOTRS: use Kernel::System::DB::ListTables() Oct 31, 2020
bschmalhofer added a commit that referenced this issue Oct 31, 2020
bschmalhofer added a commit that referenced this issue Oct 31, 2020
@bschmalhofer
Copy link
Contributor Author

Unittests are looking good. A small testmigration went fine. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant