Friday, March 3, 2017

Laravel tables in project and in mysql

Hello guys I appreciate any help in advanced, Here is my problem: I am doing some models like Image (class Image extends Model), Video(class Video extends Model), Post(class Post extends Model) and User(class User extends Model) with their tables in plural like(e.g.) protected $table=images; and so... in App/Database in my project.

I have already done...but I am not sure how those tables must be related in mysql used in server and if I am not sure if I should create those table in my server in myqsl and if so where should I put those in server...

I am really stuck here for 3 days, ...



via bunny

Advertisement