#280: Installer cannot handle a column named "attributes"
-------------------------------------------+--------------------------------
Reporter: Oliver | Type: defect
Status: new | Priority: minor
Milestone: 1.3.0 | Component: Installer
Keywords: column table database install |
-------------------------------------------+--------------------------------
= Issue =
When using a custom column named "attributes" in an installer, the
migration-script fails.
== Example ==
{{{
<?php
class SettingInstaller extends AkInstaller
{
function up_1()
{
$this->createTable('settings', "
id,
attributes
");
}
function down_1()
{
$this->dropTable('settings');
}
}
?>
}}}
== Installing using ==
./script/migrate settings install
== Fails with ==
{{{
-----
(mysqlt): SHOW TABLES
-----
-----
(mysqlt): SELECT version FROM akelos_migrations WHERE name='settings'
-----
[settings] Upgrading to version 1-----
(mysqlt): SET AUTOCOMMIT=0
-----
-----
(mysqlt): BEGIN
-----
-----
(mysqlt): SHOW TABLES
-----
-----
(mysqlt): SHOW COLUMNS FROM ak_active_records
-----
1146: Table 'database.ak_active_records' doesn't exist
}}}
--
Ticket URL: <
http://trac.akelos.org/ticket/280>
Akelos PHP Framework <
http://www.akelos.org/>
Akelos PHP Framework
--
You received this message because you are subscribed to the Google Groups "Akelos PHP Framework - Ticket Log" group.
To post to this group, send email to
akelos-php...@googlegroups.com.
To unsubscribe from this group, send email to
akelos-php-frame...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/akelos-php-framework?hl=en.