• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem on migration use

#1
Hello Codeigniter Users,

I've problem when I try to migrate some files in sequential mode.
After respect recommendations on Migrations in CI4 Userguide, I run spark command migrate, and I've got this error msg :

Code:
Type:        mysqli_sql_exception
Message:     Unknown column 'group' in 'where clause'
Filename:    /Applications/MAMP/htdocs/bl6/vendor/codeigniter4/framework/system/Database/MySQLi/Connection.php
Line Number: 329

I have this exception even specify the group into my migration files...

PHP Code:
<?php namespace App\Database\Migrations;

use 
CodeIgniter\Database\Migration;

class 
Migration_User extends Migration
{
 
   protected $DBGroup 'default';

 
   public function up()
 
   {
......... 

And I still have access to the database on my web application, but same mysql connection problem on group in "where clause".

If anyone could help me.

Thanks in advance
Reply


Messages In This Thread
Problem on migration use - by cedreek - 05-18-2019, 05:24 AM
RE: Problem on migration use - by MGatner - 05-20-2019, 06:35 AM
RE: Problem on migration use - by cedreek - 05-21-2019, 01:15 AM
RE: Problem on migration use - by muuucho - 12-20-2019, 06:07 AM
RE: Problem on migration use - by MGatner - 12-20-2019, 06:58 AM
RE: Problem on migration use - by muuucho - 12-20-2019, 12:28 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.