diff --git a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Table.php b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Table.php index 20a0c324b..910eeec84 100644 Binary files a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Table.php and b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Table.php differ diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Table/AddPrimaryKeyCommand.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Table/AddPrimaryKeyCommand.php index ecfa6e596..f2dd78439 100644 --- a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Table/AddPrimaryKeyCommand.php +++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Table/AddPrimaryKeyCommand.php @@ -31,6 +31,12 @@ class AddPrimaryKeyCommand extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated string primaryKeysNames = 4; */ private $primaryKeysNames; + /** + * skip duplication check when adding primary keys + * + * Generated from protobuf field bool skipDuplicatesCheck = 5; + */ + protected $skipDuplicatesCheck = false; /** * Constructor. @@ -44,6 +50,8 @@ class AddPrimaryKeyCommand extends \Google\Protobuf\Internal\Message * table name * @type array|\Google\Protobuf\Internal\RepeatedField $primaryKeysNames * primary key columns names + * @type bool $skipDuplicatesCheck + * skip duplication check when adding primary keys * } */ public function __construct($data = NULL) { @@ -129,5 +137,31 @@ public function setPrimaryKeysNames($var) return $this; } + /** + * skip duplication check when adding primary keys + * + * Generated from protobuf field bool skipDuplicatesCheck = 5; + * @return bool + */ + public function getSkipDuplicatesCheck() + { + return $this->skipDuplicatesCheck; + } + + /** + * skip duplication check when adding primary keys + * + * Generated from protobuf field bool skipDuplicatesCheck = 5; + * @param bool $var + * @return $this + */ + public function setSkipDuplicatesCheck($var) + { + GPBUtil::checkBool($var); + $this->skipDuplicatesCheck = $var; + + return $this; + } + } diff --git a/packages/php-storage-driver-common/proto/table.proto b/packages/php-storage-driver-common/proto/table.proto index 5ef128586..515fe9c72 100644 --- a/packages/php-storage-driver-common/proto/table.proto +++ b/packages/php-storage-driver-common/proto/table.proto @@ -81,6 +81,7 @@ message AddPrimaryKeyCommand { repeated string path = 1; // path where table is located string tableName = 2; // table name repeated string primaryKeysNames = 4; // primary key columns names + bool skipDuplicatesCheck = 5; // skip duplication check when adding primary keys } message DropPrimaryKeyCommand {