module IHP.IDE.SchemaDesigner.View.Migrations.Index where import IHP.ViewPrelude import IHP.IDE.ToolServer.Helper.View import IHP.SchemaMigration import IHP.IDE.ToolServer.Types import IHP.IDE.ToolServer.Routes () import qualified Data.Time.Clock.POSIX as Clock type Revision = Int data IndexView = IndexView { migrationsWithSql :: ![(Migration, Text)] , migratedRevisions :: ![Int] , lastError :: !(Maybe Text) } instance View IndexView where html IndexView { migrationsWithSql = [] } = emptyState html IndexView { .. } = [hsx|
{src}
No Migration yet.