We only need the ability to Add, Edit and View a list of Web Crawlers and their referer URL’s.Įntity Framework Core 2.1 added new seeding features.
You’ll notice that I have tried to keep the database behind this service really small, and only implemented the Minimum Viable Product (MVP) requirements. This is one of the driving reasons why micro-service architectures have become popular, whereby the application and database are just enough to solve the problem. This often results in bloated databases and applications which eventually become increasingly difficult to manage, maintain and develop against. Application, Reporting, Data Warehouse, transactional. I generally always follow principles from Code Complete: A Practical Handbook of Software Construction when designing my data tables and schema’s – Chapter 18 is definitely worth a read – the most common mistake I have found when working on legacy applications, is that the developers have often attempted to design their databases for all possible use cases, i.e. It’s a process which is typically only run once on the initial deployment of a database.
Seeding a database is a process in which an initial set of data is provided to a database when it is being installed. Often you will also need to Seed your database with an initial set of data.ĭatabase seeding is the initial seeding of a database with data.
SEED DATABASE USING POSTICO HOW TO
I have previously discussed how to use EF Core in a seprate class library project and how to configure migrations to enable the update of your database schema.