diff --git a/src/main/kotlin/nl/deschepers/laraveltinker/startup/Migrations.kt b/src/main/kotlin/nl/deschepers/laraveltinker/startup/Migrations.kt index 83fb555..92d8620 100644 --- a/src/main/kotlin/nl/deschepers/laraveltinker/startup/Migrations.kt +++ b/src/main/kotlin/nl/deschepers/laraveltinker/startup/Migrations.kt @@ -3,13 +3,13 @@ package nl.deschepers.laraveltinker.startup import com.intellij.ide.plugins.PluginManagerCore import com.intellij.openapi.extensions.PluginId import com.intellij.openapi.project.Project -import com.intellij.openapi.startup.StartupActivity +import com.intellij.openapi.startup.ProjectActivity import de.skuzzle.semantic.Version import nl.deschepers.laraveltinker.settings.PersistentApplicationCache import nl.deschepers.laraveltinker.startup.migrations.MakeSureConsolesHaveExtensions -class Migrations : StartupActivity { - override fun runActivity(project: Project) { +class Migrations : ProjectActivity { + override suspend fun execute(project: Project) { val currentMigrateVersion = Version.parseVersion(PersistentApplicationCache.instance.state.migrateVersion) val currentPluginVersion =