diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-15 13:34:05 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-15 14:12:24 -0500 |
commit | cf3ec71aa564c7fe47ec79f8dd5f14e3bce0b85c (patch) | |
tree | 49a3356c4177157b377aeca223a7d1c1e2e3dc17 /db/schema.rb | |
parent | 0a5eba734e6aa6a6e7e8f64b022af8ea129c9f5d (diff) |
local visibility scope, chat scope+tags, unlisted tags
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index 600837334..0cfefbf7f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -208,6 +208,17 @@ ActiveRecord::Schema.define(version: 2019_05_21_003909) do t.index ["status_id"], name: "index_bookmarks_on_status_id" end + create_table "chat_accounts", force: :cascade do |t| + t.bigint "account_id", null: false + t.bigint "tag_id", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["account_id", "tag_id"], name: "index_chat_accounts_on_account_id_and_tag_id", unique: true + t.index ["account_id"], name: "index_chat_accounts_on_account_id" + t.index ["tag_id", "account_id"], name: "index_chat_accounts_on_tag_id_and_account_id" + t.index ["tag_id"], name: "index_chat_accounts_on_tag_id" + end + create_table "conversation_mutes", force: :cascade do |t| t.bigint "conversation_id", null: false t.bigint "account_id", null: false @@ -687,8 +698,12 @@ ActiveRecord::Schema.define(version: 2019_05_21_003909) do t.datetime "updated_at", null: false t.boolean "local", default: false, null: false t.boolean "private", default: false, null: false + t.boolean "unlisted", default: false, null: false + t.boolean "chat", default: false, null: false t.index "lower((name)::text) text_pattern_ops", name: "hashtag_search_index" + t.index ["chat"], name: "index_tags_on_chat", where: "chat" t.index ["name"], name: "index_tags_on_name", unique: true + t.index ["unlisted"], name: "index_tags_on_unlisted", where: "unlisted" end create_table "tombstones", force: :cascade do |t| @@ -791,6 +806,8 @@ ActiveRecord::Schema.define(version: 2019_05_21_003909) do add_foreign_key "blocks", "accounts", name: "fk_4269e03e65", on_delete: :cascade add_foreign_key "bookmarks", "accounts", on_delete: :cascade add_foreign_key "bookmarks", "statuses", on_delete: :cascade + add_foreign_key "chat_accounts", "accounts", on_delete: :cascade + add_foreign_key "chat_accounts", "tags", on_delete: :cascade add_foreign_key "conversation_mutes", "accounts", name: "fk_225b4212bb", on_delete: :cascade add_foreign_key "conversation_mutes", "conversations", on_delete: :cascade add_foreign_key "custom_filters", "accounts", on_delete: :cascade |