db: make schema.rb version subsume bookmarks migration.
This commit is contained in:
parent
16d5217502
commit
78c145d3cb
|
@ -24,6 +24,7 @@
|
||||||
# application_id :integer
|
# application_id :integer
|
||||||
# in_reply_to_account_id :integer
|
# in_reply_to_account_id :integer
|
||||||
# local_only :boolean
|
# local_only :boolean
|
||||||
|
# full_status_text :text default(""), not null
|
||||||
#
|
#
|
||||||
|
|
||||||
class Status < ApplicationRecord
|
class Status < ApplicationRecord
|
||||||
|
|
|
@ -10,10 +10,9 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2018_04_10_204633) do
|
ActiveRecord::Schema.define(version: 2018_04_10_220657) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "pg_stat_statements"
|
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
|
||||||
create_table "account_domain_blocks", force: :cascade do |t|
|
create_table "account_domain_blocks", force: :cascade do |t|
|
||||||
|
@ -464,6 +463,7 @@ ActiveRecord::Schema.define(version: 2018_04_10_204633) do
|
||||||
t.bigint "application_id"
|
t.bigint "application_id"
|
||||||
t.bigint "in_reply_to_account_id"
|
t.bigint "in_reply_to_account_id"
|
||||||
t.boolean "local_only"
|
t.boolean "local_only"
|
||||||
|
t.text "full_status_text", default: "", null: false
|
||||||
t.index ["account_id", "id", "visibility", "updated_at"], name: "index_statuses_20180106", order: { id: :desc }
|
t.index ["account_id", "id", "visibility", "updated_at"], name: "index_statuses_20180106", order: { id: :desc }
|
||||||
t.index ["conversation_id"], name: "index_statuses_on_conversation_id"
|
t.index ["conversation_id"], name: "index_statuses_on_conversation_id"
|
||||||
t.index ["in_reply_to_id"], name: "index_statuses_on_in_reply_to_id"
|
t.index ["in_reply_to_id"], name: "index_statuses_on_in_reply_to_id"
|
||||||
|
|
Loading…
Reference in New Issue