Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / priv / repo / migrations / 20170418200143_create_webssub_server_subscription.exs
index 2432803781ef368bb97f0a13845667298afca246..3d94e4ee74242d04011e8ccf40ab38200f443db3 100644 (file)
@@ -3,11 +3,11 @@ defmodule Pleroma.Repo.Migrations.CreateWebsubServerSubscription do
 
   def change do
     create_if_not_exists table(:websub_server_subscriptions) do
-      add :topic, :string
-      add :callback, :string
-      add :secret, :string
-      add :valid_until, :naive_datetime
-      add :state, :string
+      add(:topic, :string)
+      add(:callback, :string)
+      add(:secret, :string)
+      add(:valid_until, :naive_datetime)
+      add(:state, :string)
 
       timestamps()
     end