Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. SQL Database info deleted when application updated
Forum Updated to NodeBB v4.3 + New Features

SQL Database info deleted when application updated

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    confused
    wrote on last edited by
    #1

    I have an application that access an SQL database. I currently have some users trying it out to find errors and things I need to add to it before it is actually deployed and used by my whole company. This is accessed through a network server to connect to a database on the server.

    When I make changes to my application then delte the one on the server and replace it with the new version with the updates the data that was entered while using the old verison of the applicaiton (the one I just delete and replaced) disappears. I dont make any changes to the connection or anything like that so I can't figure out why this happens. Does anyone have any ideas why/how to fix that?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      guziemic
      wrote on last edited by
      #2

      Hi,

      What kind of query do you use for creation of tables in new version of program?
      And does it mean that file in which data of database is stored is removed when you run new version of program?

      BR,

      1 Reply Last reply
      0
      • C Offline
        C Offline
        confused
        wrote on last edited by
        #3

        thanks for your response guziemic. I just use model->setTable("tableName")

        But I acctually just "fixed" it a few minuets ago. The users thought she had saved everything but actually just closed the program and forgot to, I assumed this was a problem on my end until I couldnt find any solution so I tried again and there was no data loss.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved