CC-2661: Upgrade script for steam config feature
- done
This commit is contained in:
parent
83bba9532e
commit
cab2a0f8f4
13 changed files with 668 additions and 6 deletions
27
install_minimal/DoctrineMigrations/Version20110829143306.php
Normal file
27
install_minimal/DoctrineMigrations/Version20110829143306.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace DoctrineMigrations;
|
||||
|
||||
use Doctrine\DBAL\Migrations\AbstractMigration,
|
||||
Doctrine\DBAL\Schema\Schema;
|
||||
|
||||
class Version20110829143306 extends AbstractMigration
|
||||
{
|
||||
public function up(Schema $schema)
|
||||
{
|
||||
//create cc_stream_setting table
|
||||
$cc_stream_setting = $schema->createTable('cc_stream_setting');
|
||||
|
||||
$cc_stream_setting->addColumn('keyname', 'string', array('length' => 64));
|
||||
$cc_stream_setting->addColumn('value', 'string', array('length' => 255));
|
||||
$cc_stream_setting->addColumn('type', 'string', array('length' => 16));
|
||||
|
||||
$cc_stream_setting->setPrimaryKey(array('keyname'));
|
||||
//end create cc_stream_setting table
|
||||
}
|
||||
|
||||
public function down(Schema $schema)
|
||||
{
|
||||
$schema->dropTable('cc_stream_setting');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue