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
3
votes
1 answer

How to run a create index script using RoundhousE that depends on a sp in the correct sequence

Question on roundhouse. I have a script that calls a sp to figure out how much space is required to create an index. (we are using sql express which has max db size limit). Depending on how much space is left it deletes rows from a whole bunch of…
3
votes
1 answer

Versioning concept for records with relationships (foreign key) [Database]

With the versioning concept of having a extra history/revision table for each table, where you want to keep track of the changes, I am wondering how to handle the relationships (foreign keys)? Example: Table: T_Shelf ID, Name Table: T_Inventory ID,…
3
votes
1 answer

How to maintain two versions of same entity available for edit simultaneously with relationship?

The problem Consider these database tables: Product Order Order Details User Product has columns: Product_Name, Product_Description, Product_Size, Product_Cost, Product_Unit Order has columns: Order_number, Order_Total, Order_Status,…
3
votes
1 answer

Trouble using versioning and multi-level inheritance in sqlalchemy

I'm trying to use the versioning recipe described on the sqlalchemy website (http://www.sqlalchemy.org/docs/orm/examples.html#versioned-objects) along with a multi-level inheritance model (Joined-Table inheritance) Here are my declarative…
3
votes
1 answer

How can I version my data with Cassandra?

I want to use the key-value pair feature of Cassandra. Until now, I have been using Kyotocabinet but it does not support multiple writes and hence, I want to use Cassandra for versioning my tabular data. Roll No, Name, Age, Sex 14BCE1008, Aviral,…
aviral sanjay
  • 953
  • 2
  • 14
  • 31
3
votes
0 answers

Support optional columns in entity framework

I have database with schema controlled by separate department. I would like to make some columns optional with default values. I think it would be best if I could set attribute [OtherProductMinimumVersion(OtherProductVersion.1_27)], where…
Shadow
  • 2,089
  • 2
  • 23
  • 45
3
votes
4 answers

Is it possible to use MS VS Database Project as a complete solution for database versioning?

In our project we have several production databases and many devs. Each production database represents some "sub-project/localization version". We use SQL Server 2008. So, I need to develop database versioning strategy using MS Visual Studio…
3
votes
5 answers

SQL Server Database schema versioning and update

For my application I have to support update scenarios and the database might be affected. I want to be able to update from an old version to the newest without installing intermediate versions. E.g. Suppose I have version A (the oldest), B…
kjv
  • 11,047
  • 34
  • 101
  • 140
3
votes
2 answers

Implementing article revision history for Java based web application

Any ideas of how best i can implement article revision history for a Java based web application and save it in AuditLog StackOverflow already has such a feature allowing one to see the differences from one version to another, almost like SVN…
n002213f
  • 7,805
  • 13
  • 69
  • 105
3
votes
0 answers

Solution to do Database migrations on Oracle / SqlServer and SqlLite

Im looking for a tool (preferably open-source) that can do Database migrations and versioning inside TFS, and is able to automatically deploy this during an deployment / build. Background We have developed an application that is frequently updated,…
Jordy van Eijk
  • 2,718
  • 2
  • 19
  • 37
3
votes
1 answer

Can you let RoundhousE generate a script rather than executing it

Is there a way to get RoundhousE to generate a script file without executing it?
Koen
  • 3,626
  • 1
  • 34
  • 55
2
votes
3 answers

Generating database scripts for SQL Server database versioning

In the scope of responsible programming and versioning, I would like to start to version my database changes especially since I am developing on my database instance then moving it to production. I haven't found any thing that truly makes sense to…
Mike Wills
  • 20,959
  • 28
  • 93
  • 149
2
votes
1 answer

Versioning document changes in Vespa

I would like to allow for versioning of text in Vespa. If a user changes certain fields over time the changes would be tracked and versions could be restored. I imagine a solution running in parallel to Vespa would be the way to go, with version…
SirGanya
  • 142
  • 1
  • 9
2
votes
1 answer

possible ways to version your RDF store in gitlab

what are the possible ways to version your RDF store in gitlab?
ammo
  • 39
  • 2
2
votes
2 answers

Row versioning in MySQL

I would like to include an integer version field in my table, auto-incrementing on each update made to a row. Is it possible to do this in MySQL? Please note that I'm not talking about a TIMESTAMP, which is not reliable as two concurrent updates…
BenMorel
  • 34,448
  • 50
  • 182
  • 322