- Arreglos menores y visuales. git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_IntranetNueva/trunk@28 77cfc57b-8ef4-1849-9df6-4a38aa5da120
35 lines
710 B
PHP
35 lines
710 B
PHP
<?php
|
|
|
|
class m120130_120027_tbl_perfiles extends CDbMigration
|
|
{
|
|
public function up()
|
|
{
|
|
$this->createTable('tbl_perfiles_tecnicos', array(
|
|
'id' => 'pk',
|
|
'descripcion' => 'string NOT NULL',
|
|
));
|
|
|
|
$this->createTable('tbl_perfiles_funcionales', array(
|
|
'id' => 'pk',
|
|
'descripcion' => 'string NOT NULL',
|
|
));
|
|
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
$this->dropTable('tbl_perfiles_funcionales');
|
|
$this->dropTable('tbl_perfiles_tecnicos');
|
|
}
|
|
|
|
/*
|
|
// Use safeUp/safeDown to do migration with transaction
|
|
public function safeUp()
|
|
{
|
|
}
|
|
|
|
public function safeDown()
|
|
{
|
|
}
|
|
*/
|
|
} |