[obs-commits] [openSUSE/open-build-service] cefdac: [api][webui] Convert bigint columns to int & forei...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: cefdac5fcb30b0de3e8063d811467599f941f31e https://github.com/openSUSE/open-build-service/commit/cefdac5fcb30b0de3e8063... Author: Evan Rolfe <evanrolfe@gmail.com> Date: 2017-09-13 (Wed, 13 Sep 2017) Changed paths: M src/api/app/models/kiwi/package.rb M src/api/app/models/kiwi/package_group.rb A src/api/db/migrate/20170911142301_change_kiwi_package_groups_columns_from_big_int_to_int.rb A src/api/db/migrate/20170912140257_change_kiwi_packages_columns_from_big_int_to_int.rb A src/api/db/migrate/20170912140713_add_foreign_key_constraints_to_kiwi_tables.rb M src/api/db/structure.sql Log Message: ----------- [api][webui] Convert bigint columns to int & foreign keys. Since rails 5.1 changed the default primary key type from int to bigint we now either have to convert all primary keys and foreign keys to bigint (which will take a lot of time) or stick with type int. So this commit changes the 4 instances of bigint to int so we will stick with int for the meantime. Commit: eaf65dcc2f68cab7d5d34a5c352bf0af2eae4bbd https://github.com/openSUSE/open-build-service/commit/eaf65dcc2f68cab7d5d34a... Author: Evan Rolfe <evanrolfe@gmail.com> Date: 2017-09-13 (Wed, 13 Sep 2017) Changed paths: M dist/ci/travis_script.sh M src/api/db/migrate/20170911142301_change_kiwi_package_groups_columns_from_big_int_to_int.rb M src/api/db/migrate/20170912140257_change_kiwi_packages_columns_from_big_int_to_int.rb M src/api/db/structure.sql M src/api/lib/tasks/databases.rake Log Message: ----------- [ci] Verify no bigints in structure.sql in travis. We need to make sure we do not create database columns of type bigint (see previous commit for details). This is a travis script which checks that we have not mistakenly added an bigint columns into structure.sql. Commit: 1f4c0442b506f1f657a383e633f29d8513672fc3 https://github.com/openSUSE/open-build-service/commit/1f4c0442b506f1f657a383... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2017-09-13 (Wed, 13 Sep 2017) Changed paths: M dist/ci/travis_script.sh M src/api/app/models/kiwi/package.rb M src/api/app/models/kiwi/package_group.rb A src/api/db/migrate/20170911142301_change_kiwi_package_groups_columns_from_big_int_to_int.rb A src/api/db/migrate/20170912140257_change_kiwi_packages_columns_from_big_int_to_int.rb A src/api/db/migrate/20170912140713_add_foreign_key_constraints_to_kiwi_tables.rb M src/api/db/structure.sql M src/api/lib/tasks/databases.rake Log Message: ----------- Merge pull request #3809 from evanrolfe/fix/bigint_migrations Convert database columns with type bigint => int. Compare: https://github.com/openSUSE/open-build-service/compare/81663b804f56...1f4c04...
participants (1)
-
Henne Vogelsang