forked from mirrors/easyappointments
Correct the column names in 025_rename_is_unavailable_column_of_appointments_table.php
This commit is contained in:
parent
6d413ffdfc
commit
8f2a6b4e33
1 changed files with 3 additions and 3 deletions
|
@ -17,10 +17,10 @@ class Migration_Rename_is_unavailable_column_of_appointments_table extends EA_Mi
|
||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
if ($this->db->field_exists('is_unavailability', 'appointments'))
|
if ($this->db->field_exists('is_unavailable', 'appointments'))
|
||||||
{
|
{
|
||||||
$fields = [
|
$fields = [
|
||||||
'is_unavailability' => [
|
'is_unavailable' => [
|
||||||
'name' => 'is_unavailability',
|
'name' => 'is_unavailability',
|
||||||
'type' => 'TINYINT',
|
'type' => 'TINYINT',
|
||||||
'constraint' => '4',
|
'constraint' => '4',
|
||||||
|
@ -41,7 +41,7 @@ class Migration_Rename_is_unavailable_column_of_appointments_table extends EA_Mi
|
||||||
{
|
{
|
||||||
$fields = [
|
$fields = [
|
||||||
'is_unavailability' => [
|
'is_unavailability' => [
|
||||||
'name' => 'is_unavailability',
|
'name' => 'is_unavailable',
|
||||||
'type' => 'TINYINT',
|
'type' => 'TINYINT',
|
||||||
'constraint' => '4',
|
'constraint' => '4',
|
||||||
'default' => '0'
|
'default' => '0'
|
||||||
|
|
Loading…
Reference in a new issue