First step to testcase namespacing - changing name from varchar(255) to text.
The alembic migration has one slight problem - sqlite does not support ALTER COLUMN, and so the upgrade fails with SQLite. Works with postgres though (tested).
Are we OK with it failing on SQLITE (maybe with documentation saying "if you are on sqlite, please remove the database and initialize it again", or should I try to add some workaround?
I do not think it's worth it (the time spent on working around sqlite), but I'm open to ideas.
Details
Details
- Reviewers
tflink mkrizek - Group Reviewers
resultsdb - Maniphest Tasks
- T706: Change testcase.name to text from varchar(255)
- Commits
- rRSDB648e9bcdc131: Change testcase.name to text
tested the migration with postgres
Diff Detail
Diff Detail
- Repository
- rRSDB resultsdb
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Other than small nit, looks good to me.
alembic/versions/978007ecd2b_changed_testcase_name_to_text.py | ||
---|---|---|
29 | Probably left here by mistake? |
Probably left here by mistake?