https://github.com/liteobject/demo.efcore-with-postgres
https://github.com/liteobject/demo.efcore-with-postgres
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liteobject/demo.efcore-with-postgres
- Owner: LiteObject
- Created: 2021-04-12T19:55:56.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-21T14:27:01.000Z (almost 5 years ago)
- Last Synced: 2025-05-21T19:14:08.415Z (9 months ago)
- Language: C#
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Some important commands:
1. To output SQL script from dbcontext: $ Script-DbContext -output "GeneratedScripts"
2. To spinup postgres instance: Go to the folder where docker-compose.yaml is located and run this command $ docker-compose up
3. To apply migration to database: $update-database