diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20190415185302_add_sharekey_to_status.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20190415185302_add_sharekey_to_status.rb b/db/migrate/20190415185302_add_sharekey_to_status.rb new file mode 100644 index 000000000..9e7933355 --- /dev/null +++ b/db/migrate/20190415185302_add_sharekey_to_status.rb @@ -0,0 +1,5 @@ +class AddSharekeyToStatus < ActiveRecord::Migration[5.2] + def change + add_column :statuses, :sharekey, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 993c94d2e..b01b2fcf5 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -641,6 +641,7 @@ ActiveRecord::Schema.define(version: 2019_05_19_130537) do t.string "content_type" t.tsvector "tsv" t.boolean "curated" + t.string "sharekey" t.index ["account_id", "id", "visibility", "updated_at"], name: "index_statuses_20180106", order: { id: :desc } t.index ["in_reply_to_account_id"], name: "index_statuses_on_in_reply_to_account_id" t.index ["in_reply_to_id"], name: "index_statuses_on_in_reply_to_id" |