Using SQLite as default database engine
See original GitHub issueA modest suggestion. By default Admin uses SqlServer which has to be separately installed for anyone who doesn’t use Visual Studio daily.
Required changes would be pretty small:
UseSqlServer
-> UseSqlite
in StartupHelpers.cs and adding SQLite provider package for EntityFramework.Core.
I myself use PostgreSQL (works great), but for demonstration purposes I think SQLite would the best choice. This would also make checking out the Admin so much easier for Linux/MacOS folks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Command Line Shell For SQLite
Type in SQL statements (terminated by a semicolon), press "Enter" and the SQL will be executed. For example, to create a new SQLite...
Read more >How do I set default database in the SQLite shell?
Using SQLite3, I start the DBMS using sqlite3 testDB.db , which sets testDB.db as the default database, i.e., the database is assumed when ......
Read more >Using SQLite — Firely Server documentation
SQLite is the default configuration of Firely Server. For the Administration database there is little reason to change this. For the actual runtime...
Read more >Database
Home Assistant uses database to store events and parameters for history and tracking. The default database used is SQLite and the database file...
Read more >The most widely used database in the world | by Tom Deneire
To cite only one more example, SQLite is also the default database engine for apps made with Django, a popular Python web framework....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think that you could have it added to your migration documentation (where to change provider and what packages to add). Info on how you can use different providers (sqlserver, postgresql, sqlite) with default sqlite provider.
No, I’m using VS. But I’ve used VS Code for other .net core projects before and I could test if that works.