Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] 5.0.x migration #15945

Open
wants to merge 1 commit into
base: 5.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion phalcon/Db/Adapter/Pdo/Mysql.zep
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ class Mysql extends PdoAdapter
} elseif index["Non_unique"] == 0 {
let indexes[keyName]["type"] = "UNIQUE";
} else {
let indexes[keyName]["type"] = null;
let indexes[keyName]["type"] = "";
}
}

Expand Down
8 changes: 4 additions & 4 deletions phalcon/Db/Reference.zep
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Reference implements ReferenceInterface
*
* @var string
*/
protected referencedSchema { get };
protected referencedSchema = "" { get };

/**
* Referenced Table
Expand All @@ -73,21 +73,21 @@ class Reference implements ReferenceInterface
*
* @var string
*/
protected schemaName { get };
protected schemaName = "" { get };

/**
* ON DELETE
*
* @var string
*/
protected onDelete { get };
protected onDelete = "" { get };

/**
* ON UPDATE
*
* @var string
*/
protected onUpdate { get };
protected onUpdate = "" { get };

/**
* Phalcon\Db\Reference constructor
Expand Down