{"id":20605201,"url":"https://github.com/arnab-developer/efmigrations","last_synced_at":"2025-10-17T10:57:20.678Z","repository":{"id":68915140,"uuid":"347008219","full_name":"Arnab-Developer/EfMigrations","owner":"Arnab-Developer","description":"An example application with EF Migrations","archived":false,"fork":false,"pushed_at":"2021-04-21T07:42:44.000Z","size":679,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T02:24:17.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arnab-Developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-12T09:19:25.000Z","updated_at":"2021-12-05T05:48:17.000Z","dependencies_parsed_at":"2023-03-26T02:18:49.653Z","dependency_job_id":null,"html_url":"https://github.com/Arnab-Developer/EfMigrations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FEfMigrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FEfMigrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FEfMigrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FEfMigrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arnab-Developer","download_url":"https://codeload.github.com/Arnab-Developer/EfMigrations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242250932,"owners_count":20096895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T09:27:04.600Z","updated_at":"2025-10-17T10:57:15.629Z","avatar_url":"https://github.com/Arnab-Developer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EF Migrations demo\n\nAn example ASP.NET application with EF Migrations following below doc\n\nhttps://docs.microsoft.com/en-us/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli\n\nI have used two databases for this app. One is for dev env and another is for prd env. To create and \nupdate dev database, I have used EF Migrations (add migrations and update database). To create and \nupdate prd database, I have generated script through EF Migrations and executed in prd database during\nthe deployment.\n\n## Initial create\n\nFor dev env\n\n```\ndotnet ef migrations add InitialCreate\n\ndotnet ef database update\n```\n\nFor prd env\n\n```\ndotnet ef migrations script\n```\n\nCopy the generated script from terminal and executed in prd database.\n\n## Add student subject\n\nFor dev env\n\n```\ndotnet ef migrations add AddStudentSubject\n\ndotnet ef database update\n```\n\nFor prd env\n\n```\ndotnet ef migrations script InitialCreate\n```\n\nCopy the generated script from terminal and executed in prd database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fefmigrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnab-developer%2Fefmigrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fefmigrations/lists"}