1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|databases] updating requests to support schema changes

This commit is contained in:
Kyle Rames 2013-10-15 13:29:42 -05:00
parent ee40447034
commit 088b8bff9b
3 changed files with 6 additions and 4 deletions

View file

@ -6,8 +6,8 @@ module Fog
data = {
'databases' => [{
'name' => name,
'character_set' => options[:character_set],
'collate' => options[:collate]
'character_set' => options[:character_set] || 'utf8',
'collate' => options[:collate] || 'utf8_general_ci'
}]
}

View file

@ -9,7 +9,9 @@ module Fog
'flavorRef' => flavor_id,
'volume' => {
'size' => volume_size
}
},
'databases' => [
]
}
}

View file

@ -7,7 +7,7 @@ module Fog
'users' => [{
'name' => name,
'password' => password,
'databases' => options[:databases]
'databases' => options[:databases] || []
}]
}