CC-3421: Upgrade Script: add/enhance upgrade script for network drive files handler feature
- bug fix
This commit is contained in:
parent
416b9d1dc2
commit
632b1c40ec
3 changed files with 13 additions and 9 deletions
|
@ -16,9 +16,9 @@ class Version20120402103944 extends AbstractMigration
|
|||
$cc_files = $schema->getTable('cc_files');
|
||||
$cc_files->addColumn('file_exists', 'boolean', array('default'=> 'true'));
|
||||
|
||||
$this->dropForeignKey('cc_files', 'cc_music_dirs_folder_fkey');
|
||||
//$cc_files->removeForeignKey('cc_music_dirs_folder_fkey');
|
||||
$cc_files->addNamedForeignKeyConstraint('cc_music_dirs_folder_fkey', $cc_music_dirs, array('directory'), array('id'));
|
||||
$cc_files->addIndex('file_exists', 'cc_files_file_exists_idx');
|
||||
$cc_files->addIndex(array('file_exists'), 'cc_files_file_exists_idx');
|
||||
}
|
||||
|
||||
public function down(Schema $schema)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue