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

liquibase is not able execute changeset in DB

I could not figured out why non of the change-set is getting executed and reflected in DB. I have referred this link as well,it has same issue unfortunately there is not answer on this post . In summary no changesets has been executed and my DB has…
Gautam
  • 3,707
  • 5
  • 36
  • 57
0
votes
1 answer

Concept of "version control" for database table rows (Not referring to storing scripts in GIT/SVN)

I require a data store that will maintain not only a history of changes made to data (easy to do) but also store any number of proposed changes to data, including chained proposals (ie. proposal-on-proposal). Think of these "changes" as really…
0
votes
1 answer

How to alert users on new update to local database?

I'd like to receive some advice from all of you. What is the best way for me to alert users on an update to my app? My app is a very knowledge-based & it works like a dictionary, so there will always be updates to it. The database I have used is by…
F4y5
  • 43
  • 10
0
votes
0 answers

Add extra option to LoggableListener

I use Loggable to backup changes in Entities. The default AbstractLogEntry does not have enough columns for my needs. Thats why i extended the class and added extra getters and setters. See the code below /** * EmployeeBackup * *…
Puya Sarmidani
  • 1,226
  • 9
  • 26
0
votes
1 answer

how can I designe a workflow of continous integration for wordpress?

how can I use wordpress core for continuous integration/deployment. it seems wordpres completely work with database changes. it means when I change my local and users change production there is a conflict and need merge on db .
0
votes
1 answer

Environment Specific Flyway Migration Versioning

I am using flyway for database migration. I need to use it across different environment (qa, demo, prod) so have created a base folder (which runs all migrations) and environment specific folders. Now based on the environment (configured as…
enigma
  • 31
  • 5
0
votes
0 answers

Replace some of Core Data records by app update

Let's say I use Core Data with entity 'Book' which has 'name', 'author', 'summary' and 'isFavorite' attributes. I prefill the Core Data and the only attribute which user can edit is 'isFavorite'. In the next version of the app for some records I…
0
votes
2 answers

Actual/history table: select by version number

I have two DB tables in PostgresSQL database: create table actual (id int, name text, version int) create table history (id int, name text, version int, actual_id int) When a record changes it is copied to the history table and the actual version…
ike3
  • 1,760
  • 1
  • 17
  • 26
0
votes
0 answers

How to ignore the splitting character in strings with Liquibase SQL syntax

I have this SQL script: Insert into DB_TABLE1 (N, B) values ('30','66'); Insert into DB_EXECUTION (COMMAND) VALUES ('/* Script generated at 20.04.2006 12:38:44 */ /* error_permissible = 955*/ Create Table map_encodekey ( privatekey VARCHAR2(30) …
gvdm
  • 3,006
  • 5
  • 35
  • 73
0
votes
2 answers

How to link a version of a Git repository with a version of one another Git repository

I have two Git repositories, one for the versioning of my application and the other for the versioning of the DB schema. I would like to use a continuous integration and deployment system, so I need to link each version of the application with the…
gvdm
  • 3,006
  • 5
  • 35
  • 73
0
votes
1 answer

Flyway with manual review

Currently I understand flyway has commandline support. We, as developer (or devops :)) we deploy automatically with jenkins and standard tool chain we have. Issues is when we do application release, We have to apply DB patches. We can definitely…
Jigar Shah
  • 2,576
  • 6
  • 31
  • 53
0
votes
0 answers

Complex refactor and version control with Database Projects

Let's say I have a table like so: CREATE TABLE Foo ( Id INT IDENTITY NOT NULL PRIMARY KEY, Data VARCHAR(10) NOT NULL, TimeStamp DATETIME NOT NULL DEFAULT GETUTCDATE() ); Now let's say I build this in a SQL Server Database Project, and I…
0
votes
2 answers

Liquibase (changeLogSync, update, changeLogSyncSQL) does not create tables or inserts data

Ive been following this guys page to get Liquibase setup ( http://bytefilia.com/managing-database-schema-changes-liquibase-existing-schema/ ) with at least my base tables and data. I have successfully ran ./liquibase --driver=com.mysql.jdbc.Driver…
lumberjacked
  • 966
  • 1
  • 21
  • 35
0
votes
1 answer

Database versioning when using continous integration

I have an odd situation where there is a SQL server database used by atleast 4 different applications and there are 4 different teams working on each of these applications. We are planning to bring in continous integration using TFS 2012 across all…
0
votes
1 answer

Code first migrations - how to rollback first migration

Using code first migrations it is trivial to migrate to any given migration by using -TargetMigration [MigrationName]. But how do you rollback to before the first migration? What migration do you target for that? The first migration has a Down()…
1 2 3
9
10