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:
parent
ee40447034
commit
088b8bff9b
3 changed files with 6 additions and 4 deletions
|
@ -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'
|
||||
}]
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,9 @@ module Fog
|
|||
'flavorRef' => flavor_id,
|
||||
'volume' => {
|
||||
'size' => volume_size
|
||||
}
|
||||
},
|
||||
'databases' => [
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ module Fog
|
|||
'users' => [{
|
||||
'name' => name,
|
||||
'password' => password,
|
||||
'databases' => options[:databases]
|
||||
'databases' => options[:databases] || []
|
||||
}]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue