mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-07-01 06:05:05 +03:00
bc28977d65
- Added variable names to just about all @param tags - Ensured proper alignment in doc block comments - Ensured proper file spacing and trimmed all trailing whitespace - Corrected improper languge construct formats (eg if () not if()) - Corrected some assignment operator alignment - A few spelling corrections - All classes pass `phpcs --Standard=Kohana` (asside from tests)
34 lines
987 B
PHP
34 lines
987 B
PHP
<?php if ( ! $quiet): ?>
|
|
Executed <?php echo count($executed_migrations); ?> migrations
|
|
|
|
Current versions of groups:
|
|
<?php echo new View('minion/task/migrations/status', array('groups' => $group_versions)) ?>
|
|
|
|
<?php if ($dry_run): ?>
|
|
This was a dry run, if it was a real run the following SQL would've been executed:
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
<?php foreach ($dry_run_sql as $group => $migrations): ?>
|
|
|
|
<?php $group_padding = str_repeat('#', strlen($group)); ?>
|
|
##################<?php echo $group_padding ?>##
|
|
# Begin Location: <?php echo $group; ?> #
|
|
##################<?php echo $group_padding ?>##
|
|
|
|
<?php foreach ($migrations as $timestamp => $sql): ?>
|
|
# Begin <?php echo $timestamp; ?>
|
|
|
|
<?php foreach ($sql as $query): ?>
|
|
|
|
<?php echo $query;?>;
|
|
<?php endforeach; ?>
|
|
|
|
# End <?php echo $timestamp; ?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
################<?php echo $group_padding ?>##
|
|
# End Location: <?php echo $group; ?> #
|
|
################<?php echo $group_padding ?>##
|
|
<?php endforeach; ?>
|