-
-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Satellites] Change MESAT-1 to OSCAR MO-122
- Loading branch information
Showing
3 changed files
with
39 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
defined('BASEPATH') OR exit('No direct script access allowed'); | ||
|
||
/* | ||
* Change sat name from MESAT1 or MESAT-1 to MO-122 | ||
*/ | ||
|
||
class Migration_MESAT1_to_MO122 extends CI_Migration { | ||
|
||
public function up() | ||
{ | ||
|
||
$this->db->set('COL_SAT_NAME', 'MESAT1'); | ||
$this->db->where('COL_SAT_NAME', 'MO-122'); | ||
$this->db->update($this->config->item('table_name')); | ||
|
||
$this->db->set('COL_SAT_NAME', 'MESAT-1'); | ||
$this->db->where('COL_SAT_NAME', 'MO-122'); | ||
$this->db->update($this->config->item('table_name')); | ||
} | ||
|
||
public function down() | ||
{ | ||
// Not Possible | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters