Skip to content

Commit

Permalink
Pre-release adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mikron-ia committed Oct 1, 2017
1 parent eea7f04 commit f078f2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions common/models/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ public function rules()
];
}

/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
Expand Down
4 changes: 4 additions & 0 deletions console/migrations/m170920_200346_v0_10_0.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ public function safeUp()
], $tableOptions);

$this->addForeignKey('task_user', 'task', 'user_id', 'user', 'id', 'RESTRICT', 'CASCADE');

$this->execute("ALTER TABLE `character_sheet` CHANGE `data` `data` LONGTEXT NOT NULL;"); // @todo Remove when upload system uses ExternalData
}

public function safeDown()
{
$this->execute("ALTER TABLE `character_sheet` CHANGE `data` `data` TEXT NOT NULL;"); // @todo Remove when upload system uses ExternalData

$this->dropTable('task');

$this->dropColumn('story', 'code');
Expand Down

0 comments on commit f078f2a

Please sign in to comment.