File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,6 @@ type DatabasesPreviewService interface {
2424
2525var _ DatabasesPreviewService = (* PreviewClient )(nil )
2626
27- type DatabaseCreateParams struct {
28- AddonProviderID string `json:"addon_provider_id"`
29- PlanID string `json:"plan_id"`
30- DatabaseName string `json:"database_name"`
31- ProjectID string `json:"project_id,omitempty"`
32- }
33-
3427// DatabaseNG stands for Database Next Generation.
3528type DatabaseNG struct {
3629 App App `json:"app"`
@@ -48,6 +41,13 @@ func NewPreviewClient(parent *Client) *PreviewClient {
4841 }
4942}
5043
44+ type DatabaseCreateParams struct {
45+ AddonProviderID string `json:"addon_provider_id"`
46+ PlanID string `json:"plan_id"`
47+ DatabaseName string `json:"database_name"`
48+ ProjectID string `json:"project_id,omitempty"`
49+ }
50+
5151func (c * PreviewClient ) DatabaseCreate (ctx context.Context , params DatabaseCreateParams ) (DatabaseNG , error ) {
5252 var res DatabaseNG
5353
You can’t perform that action at this time.
0 commit comments