Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

rhiskey/vkaudioposter-ef

Repository files navigation

vkaudioposter-ef

EntityFramework CodeFirst

An utility to create, seed and use database for music posts service.

  1. Create MySQL Database user with SUPER privilegies in order to create functions
  2. Provide .env file:
SERVER="localhost"
USER=dbuser
PASSWORD=********
DATABASE=dbname
  1. Do Migrations first:

dotnet ef migrations add InitialCreate dotnet ef database update dotnet ef migrations add TaskMigration

VisualStudio:

  1. Add-Migration NameOfMigration
  2. Update-Database

About

EntityFramework CodeFirst

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages