diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20200817225525_add_footer_to_statuses.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20200817225525_add_footer_to_statuses.rb b/db/migrate/20200817225525_add_footer_to_statuses.rb new file mode 100644 index 000000000..e85d225bc --- /dev/null +++ b/db/migrate/20200817225525_add_footer_to_statuses.rb @@ -0,0 +1,5 @@ +class AddFooterToStatuses < ActiveRecord::Migration[5.2] + def change + add_column :statuses, :footer, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index 5d7bd5262..6607f1bf7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2020_08_17_003653) do +ActiveRecord::Schema.define(version: 2020_08_17_225525) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -872,6 +872,7 @@ ActiveRecord::Schema.define(version: 2020_08_17_003653) do t.text "title" t.boolean "semiprivate", default: false, null: false t.text "original_text" + t.text "footer" t.index ["account_id", "id", "visibility", "updated_at"], name: "index_statuses_20190820", order: { id: :desc }, where: "(deleted_at IS NULL)" t.index ["account_id", "id"], name: "index_unpublished_statuses", order: { id: :desc }, where: "((deleted_at IS NULL) AND (published = false))" t.index ["conversation_id"], name: "index_statuses_on_conversation_id", where: "(deleted_at IS NULL)" |