Look at result of git status command. You will see a section, that says "Untracked files", that list 3 files.
Can you post name of that 3 files ?
Look at result of git status command. You will see a section, that says "Untracked files", that list 3 files.
Can you post name of that 3 files ?
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
"Untracked files" names are:
app/config/database.php~
app/database/migrations/2015_01_14_052420_create_users_table.php
app/database/migrations/2015_01_14_052730_create_users_table.php
Last edited by sherlyk; 01-15-2015 at 06:26 AM.
These are files that you created (not yet committed to git).
If you check gitlab, these files are not there.
The file ending with ~ is created by gedit, don't use gedit, use sublime text for programing, we don't need our code base polluted by backup files like these.
Other 2 files in migrations folder is created by "php artisan migrate:make" command.
You can delete those 2 files, make sure you only delete the files (verify name) that listed as Untracked files.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
I have deleted those two files now. I run the command again.
Result following:
Code:sherly@HOME:~/www/imagehostnow.com$ php artisan migrate ************************************** * Application In Production! * ************************************** Do you really wish to run this command? yes Migrated: 2015_01_05_044852_create_table_users Migrated: 2015_01_06_090738_create_table_images sherly@HOME:~/www/imagehostnow.com$
Now check the database in phpMyAdmin, see tables are created or not. Post a screenshot of phpMyAdmin with the database/tables.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Screenshot of phpMyAdmin with the database/tables.
![]()
Good, so migrations are successful.
Click on the tables (users, images and migrations are tables inside database imagehostnow) to see the structure.
Can you post content of migration file for users table here ? It will be in folder
There will be 2 files, one for users and other for images tables.Code:app/databases/migrations
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Bookmarks