Skip Menu |
 

This queue is for tickets about the Database-Migrator CPAN distribution.

Report information
The Basics
Id: 92725
Status: resolved
Priority: 0/
Queue: Database-Migrator

People
Owner: Nobody in particular
Requestors: lasse [...] unity3d.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.10

Attachments
0001-Specificy-column-name-when-inserting-into-migration-.patch



Subject: Column name not specified when inserting into migration
Date: Tue, 4 Feb 2014 15:48:13 +0100
To: bug-Database-Migrator [...] rt.cpan.org
From: Lasse Makholm <lasse [...] unity3d.com>
Download (untitled) / with headers
text/plain 386b
A simple one-line change to specify the column name when inserting into the applied migrations table would give a lot more flexibility in the table layout and allow tables such as: CREATE TABLE migration ( id BIGINT AUTO_INCREMENT PRIMARY KEY, migration VARCHAR(255) NOT NULL, created_at TIMESTAMP NOT NULL DEFAULT NOW(), UNIQUE KEY migration_u (migration) ); Patch attached. /Lasse

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.