Skip to content

Commit

Permalink
Handle MariaDB as well as MySQL DBs, resolves #1532
Browse files Browse the repository at this point in the history
  • Loading branch information
svpernova09 committed Nov 1, 2020
1 parent cfe3aaa commit d07cc1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/homestead.rb
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@ def self.configure(config, settings)
end

settings['databases'].each do |db|
if enabled_databases.include? 'mysql'
if (enabled_databases.include? 'mysql') || (enabled_databases.include? 'mariadb')
config.vm.provision 'shell' do |s|
s.name = 'Creating MySQL Database: ' + db
s.name = 'Creating MySQL / MariaDB Database: ' + db
s.path = script_dir + '/create-mysql.sh'
s.args = [db]
end
Expand Down

0 comments on commit d07cc1f

Please sign in to comment.