Cant find the database or sql files

May 24, 2013 at 9:09 AM
I get the error;
Cannot attach the file 'C:\Users\SDK\Documents\Visual Studio 2012\Projects\pigg-28364\Pigg_sol\PiggMvc\App_Data\PiggDb.mdf' as database 'PiggDb'.

There is no database in that location. Neither can I find sql files to generate it.
Jun 1, 2013 at 2:11 PM
we are using SqlLocalDb database. If you get the latest source code, you can select the project Pigg.Data and digit in the package manager console of your Visual Studio 2012: Update-Database. This command will create the PiggDb database inside the web project automatically using Entity Framework database migrations.
Let me know if something is not clear