Skip to content

Commit

Permalink
a missing migration added with updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Feb 17, 2018
1 parent 42f45a0 commit 14ee50e
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fonts/icomoon.eot
fonts/icomoon.svg
fonts/icomoon.ttf
fonts/icomoon.woff
dist/sidebar_items-5a7da8e21e.js
dist/sidebar_items-8039706582.js
api-reference.html
404.html
PaperTrail.html
Expand Down
2 changes: 1 addition & 1 deletion doc/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<link rel="canonical" href="https://hexdocs.pm/paper_trail/404.html" />

<script src="dist/sidebar_items-5a7da8e21e.js"></script>
<script src="dist/sidebar_items-8039706582.js"></script>
</head>
<body data-type="extras">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
Expand Down
2 changes: 1 addition & 1 deletion doc/Mix.Tasks.Papertrail.Install.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<link rel="canonical" href="https://hexdocs.pm/paper_trail/Mix.Tasks.Papertrail.Install.html" />

<script src="dist/sidebar_items-5a7da8e21e.js"></script>
<script src="dist/sidebar_items-8039706582.js"></script>
</head>
<body data-type="tasks">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
Expand Down
2 changes: 1 addition & 1 deletion doc/PaperTrail.RepoClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<link rel="canonical" href="https://hexdocs.pm/paper_trail/PaperTrail.RepoClient.html" />

<script src="dist/sidebar_items-5a7da8e21e.js"></script>
<script src="dist/sidebar_items-8039706582.js"></script>
</head>
<body data-type="modules">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
Expand Down
2 changes: 1 addition & 1 deletion doc/PaperTrail.Version.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<link rel="canonical" href="https://hexdocs.pm/paper_trail/PaperTrail.Version.html" />

<script src="dist/sidebar_items-5a7da8e21e.js"></script>
<script src="dist/sidebar_items-8039706582.js"></script>
</head>
<body data-type="modules">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
Expand Down
2 changes: 1 addition & 1 deletion doc/PaperTrail.VersionQueries.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<link rel="canonical" href="https://hexdocs.pm/paper_trail/PaperTrail.VersionQueries.html" />

<script src="dist/sidebar_items-5a7da8e21e.js"></script>
<script src="dist/sidebar_items-8039706582.js"></script>
</head>
<body data-type="modules">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
Expand Down
24 changes: 23 additions & 1 deletion doc/PaperTrail.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<link rel="canonical" href="https://hexdocs.pm/paper_trail/PaperTrail.html" />

<script src="dist/sidebar_items-5a7da8e21e.js"></script>
<script src="dist/sidebar_items-8039706582.js"></script>
</head>
<body data-type="modules">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
Expand Down Expand Up @@ -111,6 +111,12 @@ <h2>
<a href="#get_current_model/1">get_current_model(version)</a>
</div>

</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#get_model_id/1">get_model_id(model)</a>
</div>

</div>
<div class="summary-row">
<div class="summary-signature">
Expand Down Expand Up @@ -253,6 +259,22 @@ <h1 class="section-heading">



</div>
<section class="docstring">

</section>
</div>
<div class="detail" id="get_model_id/1">

<div class="detail-header">
<a href="#get_model_id/1" class="detail-link" title="Link to this function">
<span class="icon-link" aria-hidden="true"></span>
<span class="sr-only">Link to this function</span>
</a>
<span class="signature">get_model_id(model)</span>



</div>
<section class="docstring">

Expand Down
2 changes: 1 addition & 1 deletion doc/api-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<link rel="canonical" href="https://hexdocs.pm/paper_trail/api-reference.html" />

<script src="dist/sidebar_items-5a7da8e21e.js"></script>
<script src="dist/sidebar_items-8039706582.js"></script>
</head>
<body data-type="extras">
<script>try { if(localStorage.getItem('night-mode')) document.body.className += ' night-mode'; } catch (e) { }</script>
Expand Down
1 change: 0 additions & 1 deletion doc/dist/sidebar_items-5a7da8e21e.js

This file was deleted.

1 change: 1 addition & 0 deletions doc/dist/sidebar_items-8039706582.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions priv/uuid_repo/migrations/20170525142613_create_items.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
defmodule PaperTrail.UUIDRepo.Migrations.CreateItems do
use Ecto.Migration

def change do
create table(:items) do
add :item_id, :binary_id, null: false, primary_key: true
add :title, :string, null: false

add :inserted_at, :utc_datetime, null: false
add :updated_at, :utc_datetime, null: false
end
end
end

0 comments on commit 14ee50e

Please sign in to comment.