Skip to content
Advertisement

Method IlluminateDatabaseSchemaBlueprint::unsignedBidInteger does not exist

error in terminal C:xampphtdocslearninglaragonlavuedatabasemigrations2022_07_17_042348_create_transaction_details_table.php:18 IlluminateDatabaseSchemaBlueprint::__call() this my php migration }; When i put php artisan migration sees an error like above Answer There is a typo in your migration file on ‘transaction_id’ declaration. Your migration file should be like this. Check the line with the comment. Kindly read this.

Incorrect table definition; there can be only one auto column

Migration File After running php artisan migrate SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key (SQL: create table progress (id bigint unsigned not null auto_increment primary key, state_id bigint unsigned not null, city_id bigint unsigned not null, address text not null, project_name varchar(255)

Is there any way to use polymorphic relation, without the namespace FQDN

I have a polymorphic relationship and in my database i have one field called entity_type where the namespaces are saved ( models namespace for the polymorphic relationship ) like that normally : AppModelsMyModelName; Is there any way to use polymorphic relationship without the full FQDN, I would like to save only MyModelName instead of AppModelsMyModelsName Answer You can map these

MediaWiki w/.git:Unable to open all skins. throws uncaught exception

”’Fatal error: Uncaught Exception: Unable to open file /skins/MinervaNeue/skin.json: filemtime(): stat failed for /skins/MinervaNeue/skin.json”’ I tried running MediaWiki 1.38 (upgraded from 1.37.x) and tried using .git. Everything went smoothly, but after configuring the install through the browser (mw-config) I went to the site and got an 500 error. I turned on error reporting and got that error above (over and

how to simplify this complex query

This is an extract of one of my php functions. I’m struggling to get this optimized as is super slow, as I need to load all interview records, and then check if the current user is either assigned as user_id on the interview record, or if the user->id is in the interviews shared_user_ids which is json I’m also using PostgreSQL

NOT_ENABLED_FOR_CARD_PROCESSING Paypal authorize order

When I want to approve the payment, it gives me an error, so I don’t know what to do since the same example executed is the same as the api. Answer Receiving and transmitting card numbers through your own server poses a very high risk, has a high compliance burden, and it is very likely that you should not be

PhpExcel many columns causes the file to be broken

I am generating an excel file using phpexcel, the columns are 186 so I have created an array of the header columns and dynamically adding them the file is created well but the columns are broken as seen in the picture below. anyone ever encountered this issue? UPDATING THE QUESTION Now the xcel sheet has over 150 columns but not

youtube api v3 channel methods not working

there was a question about the YouTube api, regarding information about channels, some channels are not displayed by name, for example HajimeRecords and GUZNO and kuplinovplay, the latter only outputs all the information. What can this problem be related to? Requesting everything regarding the channels method My request https://www.googleapis.com/youtube/v3/channels?forUsername=GUZNO&key=*****&part=snippet,contentDetails,statistics,status Answer Here you go I hope: Explanation as I understand: youtube.com/c/{CHANNEL_NAME}

Advertisement