-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from utopia-php/feat-fix-postgres-attribute-mi…
…gration Drop postgreSQL column default if functional values
- Loading branch information
Showing
11 changed files
with
247 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
namespace Utopia\Migration; | ||
|
||
class Warning | ||
{ | ||
public string $resourceName; | ||
|
||
public string $resourceGroup; | ||
|
||
public string $resourceId; | ||
|
||
public string $message; | ||
|
||
public function __construct(string $resourceName, string $resourceGroup, string $message, string $resourceId = '') | ||
{ | ||
$this->resourceName = $resourceName; | ||
$this->resourceId = $resourceId; | ||
$this->resourceGroup = $resourceGroup; | ||
$this->message = $message; | ||
} | ||
|
||
public function getResourceName(): string | ||
{ | ||
return $this->resourceName; | ||
} | ||
|
||
public function getResourceGroup(): string | ||
{ | ||
return $this->resourceGroup; | ||
} | ||
|
||
public function getResourceId(): string | ||
{ | ||
return $this->resourceId; | ||
} | ||
|
||
public function getMessage(): string | ||
{ | ||
return $this->message; | ||
} | ||
} |
Oops, something went wrong.