It seems that the configuration that you are passing is not getting passed correctly. Can you debug the $config variable that you are passing for example like this:
var_dump($config);
die;
Also can you give us more info? Are you using CodeIgniter version 4?
It has to do something with the nextval to be honest. == not able to get what is the issue because fir update from system everything works ok
Maybe this is an issue with the database schema? == but how to check that because other database also having the same schema and it works fine there.
Can you insert a new record from an admin screen? For example from phpPgAdmin? == yes, i already tried this by inserting record through admin and from admin the record gets inserted correctly.
Hello, i tried the example which you provided but while adding serial as datatype to to “id” column after executing query its shows integer as datatype don’t know why there is no serial datatype.
Is this due to PostgreSQL 15.3 or anything else not able to get
I remember solving this sequence issue with the function setSequenceName | Grocery CRUD v3 maybe can you try with this function by adding your sequence name? For example:
ok, then maybe it is a Grocery CRUD Enterprise bug? Maybe it is not working because you have a different schema?
Just to make sure, the name that you have is demo_id_seq and not demo1_id_seq that you are referring to. So maybe it was just a typo? If not then maybe something like this may work?
Just to make sure, the name that you have is demo_id_seq and not demo1_id_seq that you are referring to. So maybe it was just a typo? If not then maybe something like this may work?
== the table name, schema name is correct only my table is demo1 and schema is da_client_master
there is no issue in that,
This $crud->setSequenceName(‘demo_id_seq’); will be used for “demo” table and this
$crud->setSequenceName(‘demo1_id_seq’); will be used for “demo1” table we i have used correct only for both the functions this is not the solution
I don’t understand what do you mean. “Debug mode” is always on. If you can’t see the error, this is a PHP configuration issue. Please check the stack overflow question here on how to show PHP errors: How do I get PHP errors to display? - Stack Overflow