Questions tagged [database-versioning]

Database versioning is the management and tracking of changes made to a database. All changes to scripts that define tables, procedures, triggers, views, indexes, sequences and other user defined objects are stored and versioned. Database versioning can also refer to the management and tracking of all database data where every Insert/Update/Delete operation is stored with intent to keep a permanent log of who performed which modifications.

Database versioning is the management and tracking of changes made to a database. All changes to scripts that define tables, procedures, triggers, views, indexes, sequences and other user defined objects are stored and versioned.

The date of the change, the user who made the change, and the content of that change is kept in a log for later review to enforce accountability for people making changes.

Database versioning can also refer to the management and tracking of all database data where every Insert/Update/Delete operation is stored with intent to keep a permanent log of who performed which modifications.

The purpose of database versioning is to assist in the detection and resolution of fraudulent or accidental modifications. With database versioning, hiding fraudulent modifications becomes more difficult. Without database versioning, accountability for who edited the database will be invisible and users committing fraudulent edits to the database can cover their tracks easily by making additional edits.

147 questions
1
vote
1 answer

REST API with versioned data and differential endpoint : optimizing bandwidth and performance

My NodeJS project is based on SailsJS, itself using ExpressJS. Its API will be used by mobile apps to fetch their data from it. The tricky part is I don't want the client apps to fetch the whole data tree every time there is a change in the…
Armel Larcier
  • 15,747
  • 7
  • 68
  • 89
1
vote
0 answers

Start with Database versioning

I'm new of database versioning, I'm developing a java web application (vaadin,spring,spring-data-jpa) where I'm using maven like tool of project managment. Through manen I'm managing releases and sorce code versioning. Now my trouble is the database…
Skizzo
  • 2,883
  • 8
  • 52
  • 99
1
vote
1 answer

HBase Column family max versions clobber?

If I have my column family to only keep one version, will every Put to the same row key clobber the existing version, or will it ignore my Put request?
Samuel
  • 16,923
  • 6
  • 62
  • 75
1
vote
1 answer

Should simultaneously having multiple different SQLite Database Versions be considered harmful?

I am breaking out each SQLite table's code (including initial construction of the table as well as operations on that table) into separate classes extending SQLiteOpenHelper. In order to get these tables to be created (that is to say, to get the…
1
vote
1 answer

New version when updating an entry using mongoose and mongoose-version

I am trying to keep a track of all the revisions in some documents in a mongo database using mongoose. For this reason I decided to go with the plugin mongoose-version. When I create a new document and add it to the database I can see that a version…
MightyMouse
  • 13,208
  • 8
  • 33
  • 43
1
vote
1 answer

Framework to manage historical data of JPA entities

About 1 or 2 years ago, I stumbled upon a framework that could manage old revisions of JPA database data. For each managed table TABLE_T, it would create a table TABLE_VERSIONED_T and whenever data in TABLE_T changed, an entry was created in…
user3151902
  • 3,154
  • 1
  • 19
  • 32
1
vote
1 answer

Creation of compund unique contraint in neo4j 2.0

i'm using neo4j to create a versioned graph database, and i'm having some troubles to implement unique constraints in the database. I want to know if is possible to do something like CREATE CONSTRAINT ON (u:CaliopeUser) ASSERT u.timestampt+u.name…
Neoecos
  • 569
  • 4
  • 16
1
vote
1 answer

Any obvious drawbacks for using a code versioning system to store history of changes to a database record

I am considering storing changes/history-of-changes to database records as a git/hg repository, while current data still resides in database. If someone needs a history of changes, I will have to look it up in the repo. There could be a folder for…
Nasir
  • 2,984
  • 30
  • 34
1
vote
2 answers

Upgrading database version automatically

Hi i am creating an app which stores the password of the user entering. and whenever he needs to change his password then the data has to be changed. The problem i am facing is while i am calling the DBHelper class (i created to do all my database…
sam
  • 2,426
  • 2
  • 20
  • 29
1
vote
3 answers

Managing dependency of objects while running DB's versioned scripts

We are bringing our db under version control. We have around 2400 object out of which most are stored procedures. So we have made drop if does not exist create scripts for all our objects except tables. We are maintaining the table scripts in a…
puneet
  • 769
  • 1
  • 9
  • 34
1
vote
1 answer

What are the good practices on data history keeping through an workflow?

At our team, we need to keep record of data through an workflow. At each step, when the data changes, we don't want to lose its previous state because if the workflow takes a step back, that previous state must be restored. What I ask is, what are…
Carlos Melo
  • 3,052
  • 3
  • 37
  • 45
1
vote
2 answers

Android upgrade db not updating db version after successful upgrade

I am trying to add three new table to my existing sqlite db and I'm running into problems with the db version not updating after a successful upgrade. Below is the DatabaseHelper that runs: private static class DatabaseHelper extends…
KevinM
  • 1,799
  • 4
  • 28
  • 58
1
vote
1 answer

Best Practice for Versioned Entities?

Good afternoon, I am currently in the very early phase of a new project written in .Net and using Entity Framework for data persistence/storage. One of the features required is the ability to 'version' certain model types. E.g. one model is one…
Jörg Battermann
  • 4,044
  • 5
  • 42
  • 79
0
votes
1 answer

Date versioning and restoring

We are developing a SAAS based application. One of the requirements is to record every change in database tables i.e. create date/time based version of data. Client should be able to revert back to any version of data. I have almost 30 tables in…
Saqib
  • 1,283
  • 1
  • 13
  • 16
0
votes
3 answers

Can I integrate SourceSafe / VSS with SQL Server 2005?

How are the SQL objects managed with VSS? Can I integrate SourceSafe / VSS with SQL Server 2005? I want versioning in my SQL schemas.
Tushar Maru
  • 3,347
  • 10
  • 34
  • 53