- Extensión "jQuery Chosen" - Arreglos en migraciones para indicar el tipo de tablas InnoDB git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@67 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
22 lines
603 B
PHP
22 lines
603 B
PHP
<?php
|
|
|
|
class m121024_103612_tbl_perfiles extends CDbMigration {
|
|
|
|
public function safeUp() {
|
|
$this->createTable('tbl_perfiles_tecnicos', array(
|
|
'id' => 'pk',
|
|
'descripcion' => 'string NOT NULL',
|
|
), 'ENGINE=InnoDB CHARSET=utf8');
|
|
|
|
$this->createTable('tbl_perfiles_funcionales', array(
|
|
'id' => 'pk',
|
|
'descripcion' => 'string NOT NULL',
|
|
), 'ENGINE=InnoDB CHARSET=utf8');
|
|
}
|
|
|
|
public function safeDown() {
|
|
$this->dropTable('tbl_perfiles_tecnicos');
|
|
$this->dropTable('tbl_perfiles_funcionales');
|
|
}
|
|
|
|
} |