aboutsummaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170321074832_create_object.exs
diff options
context:
space:
mode:
Diffstat (limited to 'priv/repo/migrations/20170321074832_create_object.exs')
-rw-r--r--priv/repo/migrations/20170321074832_create_object.exs15
1 files changed, 15 insertions, 0 deletions
diff --git a/priv/repo/migrations/20170321074832_create_object.exs b/priv/repo/migrations/20170321074832_create_object.exs
new file mode 100644
index 0000000..68678e6
--- /dev/null
+++ b/priv/repo/migrations/20170321074832_create_object.exs
@@ -0,0 +1,15 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.Repo.Migrations.CreatePleroma.Object do
+ use Ecto.Migration
+
+ def change do
+ create_if_not_exists table(:objects) do
+ add(:data, :map)
+
+ timestamps()
+ end
+ end
+end