Comments (7)
Hi there! Have you changed packages to target SQLServer? You need to change both the data package as well as the Identity package! See this page for reference:
https://piranhacms.org/docs/architecture/databases/sql-server
Best regards
from piranha.core.docs.
@tidyui Yes, sorry, I forgot to mention. I installed both packages as the necessary types for SQL EF and SQL Identity aren't already present. I did not uninstall any packages, only added the two referenced on this page.
from piranha.core.docs.
@timgabrhel I actually also missed that you were running on master and not the current packages
If you’re happy with the 8.3 functionality you can find the latest stable release in the version branch!
Best regards
Håkan
from piranha.core.docs.
@filipjansson Can you take a look at this when you get the time. It looks like you have already created the migration for SQLServer
but it doesn't appear to be executing correctly.
from piranha.core.docs.
@tidyui Might I suggest some guidance of this note, perhaps under this section.
https://github.com/PiranhaCMS/piranha.core#get-the-latest-source-code-and-get-going
from piranha.core.docs.
Yes good idea! I’ll rename this issue and move it to the documentation repo!
from piranha.core.docs.
Hi!
I tried to reproduce this behavior but without success.
All the migration run and all the columns is in place.
What I did notice is that your EFMigrationHistory
table is missing one migration from the Piranha.AspNetCore.Identity.SQLServer
package, the initial migration called 20180516203540_InitialCreate
.
My startup:
services.AddPiranha(options =>
{
options.AddRazorRuntimeCompilation = true;
options.UseFileStorage(naming: FileStorageNaming.UniqueFolderNames);
options.UseImageSharp();
options.UseManager();
options.UseTinyMCE();
options.UseMemoryCache();
options.UseEF<SQLServerDb>(db =>
db.UseSqlServer("Data source=.\\sqlexpress;initial catalog=piranha;Integrated Security=True;multipleactiveresultsets=true;"));
options.UseIdentityWithSeed<IdentitySQLServerDb>(db =>
db.UseSqlServer("Data source=.\\sqlexpress;initial catalog=piranha;Integrated Security=True;multipleactiveresultsets=true;"));
options.UseSecurity(o =>
{
o.UsePermission("Subscriber");
});
});
BR
Filip
from piranha.core.docs.
Related Issues (20)
- CMSController.cs is missing HOT 2
- How do we create a custom archive with custom posts
- The lack of any serious auth documentation has become an issue.
- Complete example of creating a new pagetype/archivetype HOT 1
- Documentation for custom data layer HOT 2
- Creating Module but HeaderBlock does not exist.
- Where can I set up Chinese? HOT 1
- SimpleModule not found
- Docs error HOT 1
- Exception on custom Login request HOT 1
- Using a custom vue file
- Add navigation buttons to docs pages HOT 4
- Renaming content type route 404 error HOT 2
- Running multiple sites with Nginx proxy pass HOT 1
- Calling/api/page/{slug} Getting 500 Error HOT 2
- Remove references to PageTypeRouteAttribute HOT 4
- Improve docs for mixed mode applications HOT 3
- Antiforgery cookie when using external identity provider
- Where would I find the actual API reference ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piranha.core.docs.