A
A
artyak11212019-09-01 17:24:21
Laravel
artyak1121, 2019-09-01 17:24:21

How to remove automatic assignment of a table name?

Good afternoon. There is the following problem. The site has one finished page. I need to make the same page, only with different information. I took the finished files from the App/http folder and the finished controller. I changed the class names, in some files I set the table names through protected $table, everything seems to be cool, everything works. But the problem is the following, laravel is not clear why it sets its own name for the table. That is, I have a standard table bets, I made the new page refer to the table bets_low, the information entered into this table is received, but is not displayed on the site. Laravel swears that there is supposedly no information in game_low_idthe table column bets_low, although the columngame_low_idI have not described and is not used anywhere at all, because of this information is not displayed. How can I set the taking of information from the column game_id?
UPD: or maybe you can somehow track, let's say where the request comes from and what request?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question