Correct migrations
This commit is contained in:
parent
c8a9e2c24b
commit
57c9aa38a3
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class Migration_Drop_delete_datetime_column_from_all_tables extends EA_Migration
|
||||||
*/
|
*/
|
||||||
protected $tables = [
|
protected $tables = [
|
||||||
'appointments',
|
'appointments',
|
||||||
'service_categories',
|
'categories',
|
||||||
'consents',
|
'consents',
|
||||||
'roles',
|
'roles',
|
||||||
'services',
|
'services',
|
||||||
|
|
|
@ -74,7 +74,7 @@ class Migration_Revert_rename_id_service_categories_column_of_services_table ext
|
||||||
$this->db->dbprefix('services') .
|
$this->db->dbprefix('services') .
|
||||||
'`
|
'`
|
||||||
ADD CONSTRAINT `services_categories` FOREIGN KEY (`id_categories`) REFERENCES `' .
|
ADD CONSTRAINT `services_categories` FOREIGN KEY (`id_categories`) REFERENCES `' .
|
||||||
$this->db->dbprefix('categories') .
|
$this->db->dbprefix('service_categories') .
|
||||||
'` (`id`)
|
'` (`id`)
|
||||||
ON DELETE SET NULL
|
ON DELETE SET NULL
|
||||||
ON UPDATE CASCADE
|
ON UPDATE CASCADE
|
||||||
|
|
Loading…
Reference in a new issue