13
inaba
6d

STOOOOP TELLING ME THE TABLE DOESN'T EXIST. YOU'RE FUCKING SUPPOSED TO CREATE THE DAMN TABLE NOT TELL ME IT DOESN'T EXIST! YOU FUCKING DID IT AT HOME ON MY DESKTOP SO WHY DO YOU DO THIS TO MEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEeeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Comments
  • 2
    if code first you need to explicitly tell it to create them, not sure in how to do it in .Net framework, I used only db first approach.

    But in .net core I use code first approach and I need to tell it to update database
  • 0
    You're adding a member to a table, that table doesn't exist, nor do you say to create this table anywhere if it doesn't?

    My guess is that you'd need to set up the schema first, which is logical..
  • 0
    You have a command that will generate the script you can simply copy paste to the db and execute there.. something along the lines of
    Update-Database -Script -SourceMigration: <initial-migration> -TargetMigration: <latest-migration>
  • 0
    @sladuled yeah a command. But that wasn't what I was supposed to do >:(
  • 0
    @inaba I know, sorry.. I never managed to do from VS what you're trying to do. Gave up trying altogether when I almost fucked up the project.. :/
Your Job Suck?
Get a Better Job
Add Comment