mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-15 21:00:00 +01:00
* starting to move things into exporter lib, parameterize * additional mysql2 adapter change, sqlite compatibility * moved almost all of exporter code into ruby lib * Try to update GDAL from sources * Update Dockerfile * Try running Buster (#186) * Try running Buster * Include binary GDal * Reorder Dockerfile * Install npm * Tweak apt command * Update Dockerfile * Simplfy * Rollback ruby upgrade and rather install 2.4.4 from rvm * Add login shell to support rvm * Mysql deps * Include git * Fix entry command * Move start command * Revert "Fix entry command" This reverts commit 1833f4132009798fb481d9c821eb2c3e3b6e59cc. * Remove entrypoint from Dockerfile * Add -l parameter to bash * More deps * Bump mysql2 from 0.3.21 to 0.5.2 Bumps [mysql2](https://github.com/brianmario/mysql2) from 0.3.21 to 0.5.2. - [Release notes](https://github.com/brianmario/mysql2/releases) - [Changelog](https://github.com/brianmario/mysql2/blob/master/CHANGELOG.md) - [Commits](https://github.com/brianmario/mysql2/compare/0.3.21...0.5.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * activerecord-mysql2-adapter * Return to mysql2 < 4 gem and add some grease * Update exporter_test.rb * Update exporter_test.rb * Update exporter.rb * Update exporter_test.rb
6 lines
263 B
Ruby
6 lines
263 B
Ruby
# https://github.com/peatio/peatio/issues/590#issuecomment-352550396
|
|
require 'active_record/connection_adapters/mysql2_adapter'
|
|
class ActiveRecord::ConnectionAdapters::Mysql2Adapter
|
|
NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
|
|
end
|