diff options
author | lain <lain@soykaf.club> | 2018-12-01 12:00:33 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-12-01 12:00:33 +0100 |
commit | 4996fb07d829a5c93fe97a6f3364f3032fb2c1bb (patch) | |
tree | 4398bdf8bba1aeec61c191dec9c1d0f2b52ce110 /priv/repo/migrations/20181201104428_add_uuid_extension.exs | |
parent | 347df6421d6b1794a39ac6ce9e24a9e51e136a62 (diff) | |
download | pleroma-4996fb07d829a5c93fe97a6f3364f3032fb2c1bb.tar.gz pleroma-4996fb07d829a5c93fe97a6f3364f3032fb2c1bb.zip |
Genereate uuids for existing info fields.
Diffstat (limited to 'priv/repo/migrations/20181201104428_add_uuid_extension.exs')
-rw-r--r-- | priv/repo/migrations/20181201104428_add_uuid_extension.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20181201104428_add_uuid_extension.exs b/priv/repo/migrations/20181201104428_add_uuid_extension.exs new file mode 100644 index 000000000..2509e558d --- /dev/null +++ b/priv/repo/migrations/20181201104428_add_uuid_extension.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddUUIDExtension do + use Ecto.Migration + + def change do + execute("create extension if not exists \"uuid-ossp\"") + end +end |