c_meyer
4951de8358
Behebt Problem beim Erstellen der Datenbank https://stackoverflow.com/questions/37315546/uninitialized-constant-activerecordconnectionadaptersmysql2adapternative-d
6 lines
208 B
Ruby
6 lines
208 B
Ruby
require 'active_record/connection_adapters/mysql2_adapter'
|
|
NativeDbTypesOverride.configure({
|
|
ActiveRecord::ConnectionAdapters::Mysql2Adapter => {
|
|
primary_key: "int(11) auto_increment PRIMARY KEY"
|
|
}
|
|
}) |