mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Implement Suggestions
This commit is contained in:
@@ -91,7 +91,7 @@ abstract class Adapter
|
||||
/**
|
||||
* Delete Unique Key.
|
||||
*
|
||||
* @param String $key
|
||||
* @param string $key
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
@@ -100,7 +100,7 @@ abstract class Adapter
|
||||
/**
|
||||
* Add Unique Key.
|
||||
*
|
||||
* @param String $key
|
||||
* @param string $key
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
||||
@@ -360,7 +360,7 @@ class MySQL extends Adapter
|
||||
/**
|
||||
* Delete Unique Key.
|
||||
*
|
||||
* @param String $key
|
||||
* @param string $key
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
@@ -380,13 +380,12 @@ class MySQL extends Adapter
|
||||
/**
|
||||
* Add Unique Key.
|
||||
*
|
||||
* @param String $key
|
||||
* @param string $key
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
|
||||
public function addUniqueKey($key)
|
||||
{
|
||||
$st = $this->getPDO()->prepare('INSERT INTO `'.$this->getNamespace().'.database.unique`
|
||||
|
||||
Reference in New Issue
Block a user