Update
This commit is contained in:
parent
3a57d74357
commit
df548a4943
12 changed files with 137 additions and 179 deletions
|
@ -10,7 +10,7 @@ defmodule Nulla.Repo.Migrations.CreateInstanceSettings do
|
|||
add :registration, :boolean, default: false, null: false
|
||||
add :max_characters, :integer, default: 5000, null: false
|
||||
add :max_upload_size, :integer, default: 50, null: false
|
||||
add :api_offset, :integer, default: 100, null: false
|
||||
add :api_limit, :integer, default: 100, null: false
|
||||
add :public_key, :text
|
||||
add :private_key, :text
|
||||
|
||||
|
@ -35,7 +35,7 @@ defmodule Nulla.Repo.Migrations.CreateInstanceSettings do
|
|||
sql = """
|
||||
INSERT INTO instance_settings (
|
||||
id, name, description, domain, registration,
|
||||
max_characters, max_upload_size, api_offset,
|
||||
max_characters, max_upload_size, api_limit,
|
||||
public_key, private_key, inserted_at, updated_at
|
||||
) VALUES (
|
||||
1, 'Nulla', 'Freedom Social Network', '#{domain}', false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue