Laravel Voyager-Deletion of table fields does not delete from view - laravel

I am working on a very simple web application and managing admin panel using Laravel Voyager Version: 1.1 and Laravel Version 5.7.
I have created Courses table using Voyager database tool. There is a column by the name of tutor_id in Courses table.
It was working fine but after few days due to application requirements I have deleted that “tutor_id” column from "Courses" table using Voyager. The column has successfully deleted from table which I can see by going to phpMyAdmin.
The issue is that when I browse Courses the tutor_id column is still present there as shown in the figure.
I have cleared the cache but have no luck.

1) go to table data_types and find id of "Courses" table
2) go to table data_rows and find "tutor_id" row and delete it

Related

Laravel Voyager installation issue

I just finished my first laravel project> Now I only need to install an admin panel. I tried to install Laravel Voyager but I got an issue because I had a role table already created, So it stopped the installation. Is there a way to fix this issue or should I use admin panel, what do you advice me ?
I already had a role table with helpers methods and data that I am currently using. I completely unistall it and I delete all files that I got during the installation.
In the past, I run into the same issue with Voyager, with my previous users and a roles table. Since I had logic already in place for the user's/role table design, what I did was fuse both tables migrations into one. In detail these are the steps I went through to accomplish that:
Create new database for Voyager's installation.
Update.env to access new DB (would be advisable to clear cache after).
Install Voyager php artisan voyager:install (after Voyager vendor was installed using composer).
Copy Voyagers migrations to database/migrations, make your changes, turn off the config option database.autoload_migrations (full guidance for this step can be found in https://voyager-docs.devdojo.com/getting-started/installation#advanced).
Merge conflicting migrations files (in this case the roles table, or any other that can conflict with Voyager's migrations), meaning bringing columns needed from the previous migration into Voyager's migration file.
Delete all tables from the database again (since migrations tables were modified) and run php artisan migrate.
Now you should end-up having the previous roles table (with previous and new Voyagers columns, and definitions), without affecting the Voyager's tables functionality :)

Is there some way to use already created database table in voyager?

I am using voyager to create admin panel for my app. Link for voyager is https://github.com/the-control-group/voyager. I need to use already created database tables which I created in phpmyadmin but can not find way to do so. Voyager gives some already built tables like categories, menus, pages etc. and also let us create new tables but how can I use my own created tables which I created in phpmyadmin?
Its possible use your owns tables, inside bread section should appear the option to make bread of it.
To make a bread of a table you should create the model of that table, if you have the table "articles" you can create the model with "php artisan make:model article"

KingswaySoft data migration from Dynamics crm 4.0 to 365 id not exist error

I have already migrated the contact and account tables. There is a table in Extensions and I tried to migrate it, while it contents fields link to other tables like Contact. When I try to migrate, an error happen and it says an id of this table does not exist. This is very confusing. How can it says an id of the table I try to migrate does not exist?
Based on the error message you shared with us, it seems that you need to create the dependent records first to maintain the parent-child relationship within the customer entity. Hope this helps.

In Laravel 4 , In users table all data of this table are removed automatically every day

I m using laravel 4, i m just beginner in laravel 4 and stared project in laravel but my issue in users table , all thing working ok like user registration and login auth , but everyday the data of this users table are deleted automatically. please help me to solved this issue.Here i have attached my users table schema.
I think you have an macro running inside of your laravel application. An que job. Please check your code on que jobs.

Insert data command not saving data into database in magento

I have migrated a magento site successfully nut when i import database in phpmyadmin. it created all tables but not inserting all values in tables.
when i try to manually insert data.it does not save data and there in not error also..please help

Resources