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> |
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.