I’m familiar with aspnet_regsql.exe to create a membership database (it produces 11 tables)
However, in my MVC4 project VS2010 created a Membership Database with just six tables (Applications, Memberships, Profiles, Roles, Users & UsersInRoles)
How can I create a database with this (new?) schema?
aspnet_regsql.exeis a part of ASP.Net architecture, not MVC.My bet is that the MVC4 Developer Preview comes with some custom schema scripts in its project structure, or that it has a preview version of the new ASP.Net 4.5 version
aspnet_regsql.exeinstalled.If the later is true, you could perhaps use that to create a database, and tie it into your MVC3 (and prior) applications. The implications here are because of the schema differences, you would likely need to write your own Providers.
Another option would be to create the database with your MVC4 template, delete the project, and code a DA layer in your MVC3 project that uses the database. All you’d need to grab is the connection string. But again, you would have to roll your own providers as the old ones wouldn’t know the new 6-table schema.