aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/1.318_step_00353_cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/1.318_step_00353_cache.php')
-rw-r--r--db/migrations/1.318_step_00353_cache.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/db/migrations/1.318_step_00353_cache.php b/db/migrations/1.318_step_00353_cache.php
index 901db60..5959945 100644
--- a/db/migrations/1.318_step_00353_cache.php
+++ b/db/migrations/1.318_step_00353_cache.php
@@ -1,5 +1,10 @@
<?php
+use Studip\Cache\DbCache;
+use Studip\Cache\FileCache;
+use Studip\Cache\MemcachedCache;
+use Studip\Cache\RedisCache;
+
class Step00353Cache extends Migration
{
public function description()
@@ -20,10 +25,10 @@ class Step00353Cache extends Migration
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC");
$types = [
- 'StudipDbCache',
- 'StudipFileCache',
- 'StudipMemcachedCache',
- 'StudipRedisCache'
+ DbCache::class,
+ FileCache::class,
+ MemcachedCache::class,
+ RedisCache::class,
];
// Insert pre-defined cache types in to database