Skip to content

Commit

Permalink
Increase length of the paste data field
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakb committed Sep 30, 2013
1 parent 7273edc commit 9367fbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/config/schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@
// A raw query is fine here as 0.4 supported MySQL only
DB::update("ALTER TABLE {$dbPrefix}main MODIFY COLUMN hash VARCHAR(12) NOT NULL");

// Increase length of the paste data field
DB::update("ALTER TABLE {$dbPrefix}main MODIFY COLUMN data MEDIUMTEXT NOT NULL");

// Change the urlkey to VARCHAR(9), as we prepent 'p' now
DB::update("ALTER TABLE {$dbPrefix}main MODIFY COLUMN urlkey VARCHAR(9) NOT NULL DEFAULT ''");

Expand Down

0 comments on commit 9367fbb

Please sign in to comment.