Skip to content
#

database-migrations

Here are 213 public repositories matching this topic...

flyway
marcosdipaolo
marcosdipaolo commented Mar 4, 2019

I still cannot really find neither here nor in the docs how to set up a "many to many" relationship with a pivot table. From de docs:

public function up()
    {
        $table = $this->table('tags');
        $table->addColumn('tag_name', 'string')
              ->save();

        $refTable = $this->table('tag_relationships');
        $refTable->addColumn('tag_id', 'integer', ['null' =
frol
frol commented Sep 23, 2016

#26 showed that there might be a situation when all tests pass, the response is expected, but it was not explicitly covered with @api.response() decorator. I think we will need to override Api.output from flask_restplus/api.py (note, there is already customization on Api class in flask_restplus_patched, so you can just add this patch there), so we can check what responses are defined on th

defunctzombie
defunctzombie commented Dec 1, 2019

While working on wrapper to invoke the command from nodejs, I've found that it would be more flexible to specify the database url via a command line argument rather than having dbmate read it from a .env file. This allows the app and testing environment to provide the database url after loading it however it wants.

akea013
akea013 commented Oct 10, 2018

The logs are constantly telling me the source is consistent, the show_status command that they are inconsistent:

In pg_lib.py,
check_source_consistent method currently reads:
(pseudo code):
if source_consistent:
if source_consistent[0]:
(update t_replica_tables ...)
log(consistent)
else:
log(inconsistent)
else:
log(consistent)

Line 3306 o

kael-shipman
kael-shipman commented Jun 17, 2018

Sorry to hammer you with change requests :P. I just thought that allowing recursion in migration directories would make a practical implementation of different migration environments easier. For example:

db/
├── backups/
├── init.sql
└── migrations
    ├── schema/
    │   ├── 1485643154-create_my_cool_table.sql
    │   ├── 1485648520-create_other_cool_table.sql
    │   └── 148564860
stefanholzmueller
stefanholzmueller commented Apr 19, 2019

Hey. I'm looking for a lightweight database migration tool and found this project through the Slick documentation. It seems to be up-to-date and the example looks intriguing. I was wondering if it is a good fit for my project and started reading the source code. That helped my understanding a bit, but the "big picture" is still quite blurry.

I'd like to read some high-level documentation, like

markstory
markstory commented May 13, 2018

From @dmromanov on May 13, 2018 18:0

  • CakePHP Version: 3.6.2
  • Migrations plugin version: 1.8.1
  • Bake plugin version: 1.7.3
  • Database server (MySQL, SQLite, Postgres): MySQL 5.7, 8.0
  • PHP Version: PHP 7.2.3
  • Platform / OS: Ubuntu 18.04

We have the following DB.

CREATE TABLE `test` (
  `id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
  `iso6392` char(2) NOT NULL COMMENT 'C

Improve this page

Add a description, image, and links to the database-migrations topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the database-migrations topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.