Skip to content

Commit

Permalink
Deployed 9e232f7 with MkDocs version: 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Oct 13, 2023
0 parents commit 07ad201
Show file tree
Hide file tree
Showing 47 changed files with 14,001 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
150 changes: 150 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="author" content="Corridor" />
<link rel="shortcut icon" href="/sqlalchemy-history/img/favicon.ico" />
<title>SQLAlchemy-History</title>
<link rel="stylesheet" href="/sqlalchemy-history/css/theme.css" />
<link rel="stylesheet" href="/sqlalchemy-history/css/theme_extra.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
<link href="/sqlalchemy-history/assets/_mkdocstrings.css" rel="stylesheet" />

<script src="/sqlalchemy-history/js/jquery-3.6.0.min.js" defer></script>
<!--[if lt IE 9]>
<script src="/sqlalchemy-history/js/html5shiv.min.js"></script>
<![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>

<body class="wy-body-for-nav" role="document">

<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="/sqlalchemy-history/." class="icon icon-home"> SQLAlchemy-History
</a><div role="search">
<form id ="rtd-search-form" class="wy-form" action="/sqlalchemy-history//search.html" method="get">
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
</form>
</div>
</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/.">Home</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/alembic/">Alembic migrations</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/api/">API Documentation</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/configuration/">Configuration</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/plugins/">Plugins</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/queries/">Queries</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/revert/">Reverting changes</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/schema/">Schema</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/transactions/">Transactions</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/tutorials/">Tutorial</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/utilities/">Utilities</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/sqlalchemy-history/version_objects/">Version objects</a>
</li>
</ul>
</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="/sqlalchemy-history/.">SQLAlchemy-History</a>

</nav>
<div class="wy-nav-content">
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="/sqlalchemy-history/." class="icon icon-home" alt="Docs"></a> &raquo;</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">


<h1 id="404-page-not-found">404</h1>

<p><strong>Page not found</strong></p>


</div>
</div><footer>

<hr/>

<div role="contentinfo">
<!-- Copyright etc -->
</div>

Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>

</div>
</div>

</section>

</div>

<div class="rst-versions" role="note" aria-label="Versions">
<span class="rst-current-version" data-toggle="rst-current-version">



</span>
</div>
<script>var base_url = '/sqlalchemy-history/';</script>
<script src="/sqlalchemy-history/js/theme_extra.js" defer></script>
<script src="/sqlalchemy-history/js/theme.js" defer></script>
<script src="/sqlalchemy-history/search/main.js" defer></script>
<script defer>
window.onload = function () {
SphinxRtdTheme.Navigation.enable(true);
};
</script>

</body>
</html>
169 changes: 169 additions & 0 deletions alembic/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="author" content="Corridor" /><link rel="canonical" href="https://corridor.github.io/sqlalchemy-history/alembic/" />
<link rel="shortcut icon" href="../img/favicon.ico" />
<title>Alembic migrations - SQLAlchemy-History</title>
<link rel="stylesheet" href="../css/theme.css" />
<link rel="stylesheet" href="../css/theme_extra.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
<link href="../assets/_mkdocstrings.css" rel="stylesheet" />

<script>
// Current page data
var mkdocs_page_name = "Alembic migrations";
var mkdocs_page_input_path = "alembic.md";
var mkdocs_page_url = "/sqlalchemy-history/alembic/";
</script>

<script src="../js/jquery-3.6.0.min.js" defer></script>
<!--[if lt IE 9]>
<script src="../js/html5shiv.min.js"></script>
<![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>

<body class="wy-body-for-nav" role="document">

<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href=".." class="icon icon-home"> SQLAlchemy-History
</a><div role="search">
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
</form>
</div>
</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul>
<li class="toctree-l1"><a class="reference internal" href="..">Home</a>
</li>
</ul>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal current" href="./">Alembic migrations</a>
<ul class="current">
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../api/">API Documentation</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../configuration/">Configuration</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../plugins/">Plugins</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../queries/">Queries</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../revert/">Reverting changes</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../schema/">Schema</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../transactions/">Transactions</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../tutorials/">Tutorial</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../utilities/">Utilities</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../version_objects/">Version objects</a>
</li>
</ul>
</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="..">SQLAlchemy-History</a>

</nav>
<div class="wy-nav-content">
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href=".." class="icon icon-home" alt="Docs"></a> &raquo;</li>
<li>Alembic migrations</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/corridor/sqlalchemy-history/edit/master/docs/alembic.md">Edit on sqlalchemy-history</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">

<h1 id="alembic-migrations">Alembic migrations</h1>
<p>Each time you make changes to database structure you should also change the associated history tables. When you make changes to your models SQLAlchemy-History automatically alters the history model definitions, hence you can use <code>alembic revision --autogenerate</code> just like before. You just need to make sure <code>make_versioned</code> function gets called before alembic gathers all your models and <code>configure_mappers</code> is called afterwards.</p>
<p>Pay close attention when dropping or moving data from parent tables and reflecting these changes to history tables.</p>
<h1 id="troubleshooting">Troubleshooting</h1>
<p>If alembic didn't detect any changes or generates reversed migration (tries to remove <code>*_version</code> tables from database instead of creating), make sure that <code>configure_mappers</code> was called by alembic command.</p>

</div>
</div><footer>
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
<a href=".." class="btn btn-neutral float-left" title="Home"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../api/" class="btn btn-neutral float-right" title="API Documentation">Next <span class="icon icon-circle-arrow-right"></span></a>
</div>

<hr/>

<div role="contentinfo">
<!-- Copyright etc -->
</div>

Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>

</div>
</div>

</section>

</div>

<div class="rst-versions" role="note" aria-label="Versions">
<span class="rst-current-version" data-toggle="rst-current-version">


<span><a href=".." style="color: #fcfcfc">&laquo; Previous</a></span>


<span><a href="../api/" style="color: #fcfcfc">Next &raquo;</a></span>

</span>
</div>
<script>var base_url = '..';</script>
<script src="../js/theme_extra.js" defer></script>
<script src="../js/theme.js" defer></script>
<script src="../search/main.js" defer></script>
<script defer>
window.onload = function () {
SphinxRtdTheme.Navigation.enable(true);
};
</script>

</body>
</html>
Loading

0 comments on commit 07ad201

Please sign in to comment.