diff --git a/services.rb b/services.rb index 7a222c4..6347795 100644 --- a/services.rb +++ b/services.rb @@ -44,10 +44,10 @@ def self.included(klass) S.register(:dbconnect) do db_config = S.db_config Sequel.connect(adapter: "mysql2", - host: db_config.database.host, - port: db_config.database.port, - database: db_config.database.database, - user: db_config.database.user, - password: db_config.database.password, + host: db_config.host, + port: db_config.port, + database: db_config.database, + user: db_config.user, + password: db_config.password, fractional_seconds: true) end