stash/ui/setup/migrate.html

37 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Stash</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
<link rel="stylesheet" href="/setup/milligram.min.css">
</head>
<body>
<div class="container">
<p>
Your current stash database is schema version <strong>{{.ExistingVersion}}</strong> and needs to be migrated to version <strong>{{.MigrateVersion}}</strong>.
This version of Stash will not function without migrating the database. <strong>The schema migration process is not reversible. Once the migration is
performed, your database will be incompatible with previous versions of stash.</strong>
</p>
<p>
It is recommended that you backup your existing database before you migrate. We can do this for you, writing a backup to <code>{{.BackupPath}}</code> if required.
</p>
<form action="/migrate" method="POST">
<fieldset>
<label for="stash">Backup database path (leave empty to disable backup):</label>
<input name="backuppath" type="text" value="{{.BackupPath}}" />
<div>
<input class="button button-black" type="submit" value="Perform schema migration">
</div>
</fieldset>
</form>
</div>
</body>
</html>