forked from mirrors/easyappointments
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 = [
|
||||
'appointments',
|
||||
'service_categories',
|
||||
'categories',
|
||||
'consents',
|
||||
'roles',
|
||||
'services',
|
||||
|
|
|
@ -74,7 +74,7 @@ class Migration_Revert_rename_id_service_categories_column_of_services_table ext
|
|||
$this->db->dbprefix('services') .
|
||||
'`
|
||||
ADD CONSTRAINT `services_categories` FOREIGN KEY (`id_categories`) REFERENCES `' .
|
||||
$this->db->dbprefix('categories') .
|
||||
$this->db->dbprefix('service_categories') .
|
||||
'` (`id`)
|
||||
ON DELETE SET NULL
|
||||
ON UPDATE CASCADE
|
||||
|
|
Loading…
Reference in a new issue