Migrations with artisan and SQL Server 2012
I hope this is the right place to post for help. I'm trying to create a migration using SQL Server, but everytime i try: php artisan migrate:install I get the error: [PDOException] SQLSTATE[08001]: [Microsoft][SQL Server Native Cliente 11.0] Named Pipes Provider: Could not open a connection to SQL S...
I wish i could show you, but i lost everything when my HDD failed and died (Now i backup everything everyday just in case. I could use git, but for some reasons i can't). I've never used the JW generator tool, i'll check it out. I think i had trucante() in the code, but i can't recall.
Thanks for the help. :D
Yep. In the site, the user can sign up. I save the date in the 'usuarios' table and if he's a student, i save extra data on 'Alumnos', if he's a company, on 'empresas'.
So, a user can be a student or a company. When i register the user, i save the 'Alumno' data, then create the user and link the two models.
In which part? The db? The controller?
Gonna check it, thanks
I've been using laravel for a school project and there is something that i do not like at all.
Migrations.
Every time i do a migration, the data stored is deleted. (Idk, i could be using the migrations in the wrong way and deleting my data.)
Everything else is excellent.