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
0
votes
0 answers

GraphDB history and versioning plugin weird behaviour

Trying to go through the guide to use the plugin it looks like the filter behaviour looks inconsistent. After the three steps: Inserting data INSERT DATA { "2233-03-22"^^
0
votes
0 answers

MongoDB document versioning limitations

We are planning to use MongoDB for a new project/product and one of the requirements is to have history/revisions of the documents for auditing purposes. After some research we found out that MongoDB supports Document Versioning, but it is always…
0
votes
0 answers

Dealing with database changes during development phase

Let's suppose we have the following scenario: 1 prod database, and one dev database Each of these dev databases cannot be dropped/scaffolded, and they'll always live on as they are. Along with that, there are multiple hosted instances of a web…
Amrou
  • 371
  • 1
  • 3
  • 18
0
votes
0 answers

Applying same migrations to databases with different baselines using Flyway

Suppose we are at a point where we have multiple databases that have schemas that are at a 90% similarity (That's just a random number to say that they're very similar, but not fully) The reasons for those differences are not important at this…
0
votes
0 answers

Build versioning for django

I would like to build versioning for my django models. I have already tried django-reversion but i think that is not good for my use case and i have problems with many-to-many through models and multi table inheritance. My use case: I have a multi…
Basti G.
  • 411
  • 1
  • 5
  • 26
0
votes
1 answer

How to update entries in a database created by spring and jpa

i'm supposed to version the records in a database by year. so if i get a new file from the year 2023 the entries should be changed according to the year. i'm not finding anything useful to versioning data. in most cases, they use timestamps.but i'm…
0
votes
2 answers

vespa json object changes to string

i have vespa verion 5.220.14 installed in one server where i have used json (provided by gson lib ) in searcher, while i am deploying the same code in vespa version 5.550 in a diffrentserver it is not working and changing it to string. Attached are…
divyansh
  • 23
  • 1
  • 4
0
votes
2 answers

Rake Strategy, DotNet Implementation

When reading about and playing with Rails last year, one of the tools that made the biggest impression on me was Rake. A database versioning system that keeps all dev db's identical integrated right into the build...something like that would make…
Aaron
  • 1,463
  • 1
  • 14
  • 20
0
votes
1 answer

Is there a way to store database modifications with a versioning feature (for eventual versions comparaison)?

I'm working on a project where users could upload excel files into a MySQL database. Those files are the main source of our data as they come directly from the contractors working with the company. They contain a large number of rows (23000 on…
0
votes
0 answers

What is the "Rails way" of versioning a table at a set interval?

I have a model that looks like this: class WidgetStack < ApplicationRecord belongs_to :widget belongs_to :person validates :quantity, numericality: { greater_than_or_equal_to: 0, only_integer: true } end All the table consists of is those…
0
votes
1 answer

Connecting Google Cloud Spanner with Liquibase

I am trying to create containers with Liquibase implementation which can connect with the Google Cloud Spanner. I am getting the following error: Caused by: com.google.cloud.spanner.SpannerException: INVALID_ARGUMENT:…
0
votes
1 answer

Liquibase: tracking changelogs

The project We are ~50 developers plus DevOps staff and run ~30 Oracle 12c EE instances. We have introduced Liquibase in 2018. We use the Liquibase Maven plugin version 3.8.8, changelogs are stored in numerous Maven projects, these are commited to…
0
votes
0 answers

How can I create a Session in Azure SQL using Database Versioning concept for where two or more users where they can make changes and submit it

I would like to provide my users with a session or workspace using Azure SQL DB where they can take a snap shot of the database and cook up their changes, analyze the result and then submit the final changes, so that all the other users can see it.…
0
votes
1 answer

NHibernate and Integer Columns as Version

I'm trying to create a DB Table, using an NHibernate *hbm.xml mapping file, that will have a Versioning Column for concurrency check. The Versioning column should be a nullable Integer. Although the Database is created just fine, using the mapping…
0
votes
0 answers

mysql apply only required changes

I have 2 DB instances running on dev and prod. In dev I have created a table students with the following schema create table students (name varchar(20), age int, place varchar(100)); I created the same DB in prod using the above dev schema. Now I…