146 questions
Best practices
0
votes
1
replies
62
views
Inquiry: Best Practices for Automating Superset Dashboard Deployments via CI/CD
How to automate deployment of Superset dashboards, charts, and datasets to the target environment (UAT/Prod) from Bitbucket using a CI/CD pipeline running on Cloud Build, Bitbucket Pipelines, or ...
0
votes
1
answer
303
views
How to Run Liquibase Updates Programmatically in Version 4.29 with Rollback Support?
I'm currently using Liquibase version 4.29 in my Spring application and I want to run Liquibase updates programmatically instead of via the command line. I have enabled Liquibase with the property ...
0
votes
1
answer
778
views
How to Baseline an sql script so that it won't show in the pending migrations in flyway
I have an existing postgresql database. I am trying to apply version control tool like flyway. I am using desktop app community version 6.6.1.0. I am trying to create a baseline script from here. But ...
0
votes
0
answers
201
views
How can I disable sqlalchemy versioning auto-populate transaction table for running tests?
I am working with sqlalchemy-continuum to use versioning on selected database tables in a flask app with mssql. In my end-to-end tests I run a flask app context that populates flask's global g object ...
0
votes
1
answer
130
views
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 ...
0
votes
2
answers
195
views
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 ...
2
votes
1
answer
106
views
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 ...
1
vote
1
answer
902
views
How to skip all callbacks except paper-trail when updating an ActiveRecord model using update_column method?
I am new to rails. I want to track the versions of my record using paper_trail gem but I am not able to do so when I use the update_columns method. I think overriding the update_columns method may ...
0
votes
1
answer
454
views
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. ...
3
votes
1
answer
700
views
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:...
-1
votes
3
answers
162
views
How onUpgrade() works if anyone uninstall and cleared all data?
I'm working on an android app for some days using SQLite as databse. Sometimes I had to add column. For this reason, I just change database version and write down the changes in onUpgrade() like this:
...
2
votes
0
answers
192
views
VS 2019 - When I press the F5 button on the SQL Server Database Project I don't want to deploy to the database. I just want to build the project
I am currently working on database versioning project. And I'm using a SQL Server Database Project for this.
But we'll not use local database on the SSDT Project. Therefore I don't want to deployment ...
1
vote
1
answer
1k
views
Does the Azure Storage Emulator support blob versioning? If so, how do I enable it?
I am developing a C# ASP.NET Core web application for Azure. I am using the Microsoft Azure Storage Emulator for local testing: https://learn.microsoft.com/en-us/azure/storage/common/storage-use-...
-1
votes
1
answer
243
views
Django (DRF) Serializers and MariDB Versioning Tables
MariaDB has this cool feature of tables versioning that allow you to keep track of data changes within a table like a VCS.
According to Django documentation, MariaDB is supported by the latest Django ...
2
votes
1
answer
315
views
possible ways to version your RDF store in gitlab
what are the possible ways to version your RDF store in gitlab?
3
votes
1
answer
1k
views
How to maintain two versions of same entity available for edit simultaneously with relationship? [closed]
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:
...
0
votes
0
answers
230
views
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, ...
0
votes
1
answer
1k
views
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....
0
votes
1
answer
234
views
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 ...
2
votes
1
answer
1k
views
How to version records of table in database?
I have a table in a database that stores products to buy (let's call the table Product). It's necessary to track changes of every product. I have 2 ideas for versioning records.
First is to create a ...
2
votes
1
answer
2k
views
Create database using Alembic
I have database migrations that use database1. I'm using it for Alembic for migrations.
How do I create a database database1 before running alembic?
I've created a database infrastructure using ...
0
votes
0
answers
107
views
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 ...
0
votes
1
answer
570
views
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 ...
0
votes
0
answers
286
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
897
views
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-...
3
votes
1
answer
1k
views
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 ...
3
votes
0
answers
576
views
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 [...
0
votes
1
answer
50
views
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 ...
1
vote
0
answers
30
views
Relational data with modifications/variants
Let's say a supermarket has one table with statistical revenue data by business day. In a second table they want to try out different variations of these data, f.e. less bakery revenue at 1st January, ...
0
votes
0
answers
912
views
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 ...
3
votes
1
answer
2k
views
Is it possible to revert version changes in PaperTrail without overwriting ones that came after?
I have a Rails project that has models versioned using the paper_trail gem.
I'm looking to have that when I restore a version, I only want to change the fields that were changed in that particular ...
1
vote
2
answers
235
views
Backward compatibility while adding new fields to Firebase DB
I have the following data structure in my current Firebase real-time DB:
public class E {
public int x;
public int y;
public int x;
}
This database is currently in use by my Android application ...
1
vote
0
answers
62
views
Is ArangoDB suitable for this inventory scenario?
I'd like to store a number of product inventories. Each inventory is keyed on a product ID, and each product has arbitrary attributes. I want to take proposed changes to products (which may be several ...
12
votes
1
answer
9k
views
Versioning documents in MongoDB
I want to add versioning to my documents in my MongoDB.
Are there any best practices for versioning in MongoDB?
And what's the simplestway to versioning documents in my MongoDB?
1
vote
1
answer
820
views
Implement draft and publication system in MongoDB
I have a mongodb database with collection documents that are approximately as follows:
// book document
{
_id: $oid,
userId: "..."
name: "name",
description: "description"
status: ...
1
vote
1
answer
1k
views
How do organise migration files with multiple database environments in flywaydb?
I am just starting with flywaydb. Let's consider the case of having 3 databases - PROD, TEST, DEMO.
On each upgrade (and without flywaydb), there are usually a set of sql files that need to be ...
10
votes
2
answers
24k
views
Liquibase - Add defaultValueComputed as CURRENT_TIMESTAMP to timestamp column
I am using liquibase 3.5.3 to run liquibase update command on MySql 5.5. I have below changeSet to create a table which has a column as Created_Time that should have a default value as ...
1
vote
1
answer
46
views
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 ...
-1
votes
1
answer
93
views
Does XL Deploy support Fluent Migrator?
I want to use Fluent Migrator for database migrations for my .net project. Anyone has success stories of Fluent Migrator integrated with XL Deploy for database deployment?
Regards,
Pandian.
2
votes
0
answers
356
views
Informix database versioning
I'm trying to figure out IBM Informix database versioning, or release naming conventions. I'm trying to map out the differences between minor versions and fixpacks.
According to IBM's own ...
1
vote
1
answer
792
views
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. ...
0
votes
0
answers
32
views
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 ...
18
votes
1
answer
14k
views
Tracking changes to all models in Django
I am working on a Django + DRF Web Application and I want to track changes to all model instances in the Database and keep a log of all changes made, namely:
TABLE - Table to which record was added/...
1
vote
1
answer
39
views
How can I update database every X days from server
I wasnt sure where to post this or what I should use for this. I recently learned that Twitch updates every single day and gives 1 random user a golden kappa face. I want to know how it's done, and ...
5
votes
0
answers
7k
views
How to do, 'Versioning with a History Table' in Flask SQLALchemy. Preferably with some code examples
My models are made of flask-sqlalchemy on top of postgresql. I want to keep track of changes made my models.
I have a employees table:
class Employee(db.Model):
__tablename__ = 'employees'
id ...
2
votes
1
answer
4k
views
Database versioning without history tables
I was going through this post for record level versioning of tables. I noticed that the architecture deals with the usage of history tables. However, my scenario does not require rollback but ...
-1
votes
1
answer
160
views
Which tool for database vesioning to use? liquibase vs mysql binary logs [closed]
I'm trying to build a process of refactoring, testing and deployment of my databases. After some kind of research I found liquibase as a nice tool for managing my database versions. As well similar ...
2
votes
1
answer
625
views
Databases in VCS with migrations
I have a database (SQL Server 2008 R2), which is mostly under source control (so one file per DB object, grouped together in folders e.g. tables, views, storedprocedures). At the moment, changes are ...
0
votes
2
answers
878
views
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 ...