summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20181214121049_add_bookmarks_to_users.exs
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-09-19 02:04:56 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-01-28 04:47:32 +0100
commitcda1470e02100bfcdcbd128fd08d0af64dca7271 (patch)
treecf140f85c95843af594c35fb2e4edf615cb4af6e /priv/repo/migrations/20181214121049_add_bookmarks_to_users.exs
parent872241d7c50a5c92f7867b89672ca451b40d44da (diff)
downloadpleroma-cda1470e02100bfcdcbd128fd08d0af64dca7271.tar.gz
pleroma-cda1470e02100bfcdcbd128fd08d0af64dca7271.zip
[MastoAPI][GlitchAPI] Add bookmarks
Diffstat (limited to 'priv/repo/migrations/20181214121049_add_bookmarks_to_users.exs')
-rw-r--r--priv/repo/migrations/20181214121049_add_bookmarks_to_users.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20181214121049_add_bookmarks_to_users.exs b/priv/repo/migrations/20181214121049_add_bookmarks_to_users.exs
new file mode 100644
index 000000000..55e97ae0e
--- /dev/null
+++ b/priv/repo/migrations/20181214121049_add_bookmarks_to_users.exs
@@ -0,0 +1,9 @@
+defmodule Pleroma.Repo.Migrations.AddBookmarksToUsers do
+ use Ecto.Migration
+
+ def change do
+ alter table(:users) do
+ add :bookmarks, {:array, :string}, null: false, default: []
+ end
+ end
+end