diff options
author | lain <lain@soykaf.club> | 2020-11-04 11:47:41 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-11-04 11:47:41 +0100 |
commit | c7bcbfbc1d5d34463634e44979a77a2c47e35dbc (patch) | |
tree | a9d947e8f3c82b7c5cd1764d98be46cf95b7e085 /priv | |
parent | 1cc8e945064319014300de5880a326d1100bf43e (diff) | |
parent | ba3f3a5a56d4a5ac05443fd30b5864778ad1131e (diff) | |
download | pleroma-c7bcbfbc1d5d34463634e44979a77a2c47e35dbc.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/local-only-scope
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20200831192323_create_backups.exs | 17 | ||||
-rw-r--r-- | priv/static/favicon.png | bin | 1603 -> 1583 bytes |
2 files changed, 17 insertions, 0 deletions
diff --git a/priv/repo/migrations/20200831192323_create_backups.exs b/priv/repo/migrations/20200831192323_create_backups.exs new file mode 100644 index 000000000..3ac5889e2 --- /dev/null +++ b/priv/repo/migrations/20200831192323_create_backups.exs @@ -0,0 +1,17 @@ +defmodule Pleroma.Repo.Migrations.CreateBackups do + use Ecto.Migration + + def change do + create_if_not_exists table(:backups) do + add(:user_id, references(:users, type: :uuid, on_delete: :delete_all)) + add(:file_name, :string, null: false) + add(:content_type, :string, null: false) + add(:processed, :boolean, null: false, default: false) + add(:file_size, :bigint) + + timestamps() + end + + create_if_not_exists(index(:backups, [:user_id])) + end +end diff --git a/priv/static/favicon.png b/priv/static/favicon.png Binary files differindex a96d5d252..098040a00 100644 --- a/priv/static/favicon.png +++ b/priv/static/favicon.png |