Extend Rails' create_table method for text limits
This extends Rails' method create_table and adds a `#text_limit` method for convenience. Additionally, we remove the with_lock_retries wrapping here to avoid creating subtransactions. For now, this has to be dealt with explicitly at the migration level. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/337792
Showing
Please register or sign in to comment