question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using SQLite as default database engine

See original GitHub issue

A 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
xmichaelxcommented, Jun 22, 2018

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.

1reaction
xmichaelxcommented, Jun 22, 2018

No, I’m using VS. But I’ve used VS Code for other .net core projects before and I could test if that works.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found