2015-10-27 17:08:14 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Demote 'stamp' to a number that will be sequential to base off the sorting.
|
|
|
|
|
|
|
|
$migrate = function() {
|
2015-10-27 17:59:35 +03:00
|
|
|
mysql_query("ALTER TABLE `awfy_run` CHANGE `stamp` `approx_stamp` INT( 10 ) UNSIGNED NOT NULL ;") or die(mysql_error());
|
2015-10-27 17:08:14 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
$rollback = function() {
|
2015-10-27 17:59:35 +03:00
|
|
|
mysql_query("ALTER TABLE `awfy_run` CHANGE `approx_stamp` `stamp` INT( 10 ) UNSIGNED NOT NULL ;") or die(mysql_error());
|
2015-10-27 17:08:14 +03:00
|
|
|
};
|