method

grant_statement

rails latest stable - Class: ActiveRecord::Tasks::MySQLDatabaseTasks

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

grant_statement()
private

No documentation available.

# File activerecord/lib/active_record/tasks/mysql_database_tasks.rb, line 105
        def grant_statement
          GRANT ALL PRIVILEGES ON `#{configuration['database']}`.*  TO '#{configuration['username']}'@'localhost'IDENTIFIED BY '#{configuration['password']}' WITH GRANT OPTION;
        end