File: schema.rb

package info (click to toggle)
schleuder 5.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,392 kB
  • sloc: ruby: 12,101; sh: 215; makefile: 10
file content (64 lines) | stat: -rw-r--r-- 3,262 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `bin/rails
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
# be faster and is potentially less error prone than running all of your
# migrations from scratch. Old migrations may fail to apply correctly if those
# migrations use external dependencies or application code.
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.1].define(version: 2022_09_10_170110) do
  create_table "lists", force: :cascade do |t|
    t.datetime "created_at", precision: nil
    t.datetime "updated_at", precision: nil
    t.string "email", limit: 255
    t.string "fingerprint", limit: 255
    t.string "log_level", limit: 255, default: "warn"
    t.string "subject_prefix", limit: 255, default: ""
    t.string "subject_prefix_in", limit: 255, default: ""
    t.string "subject_prefix_out", limit: 255, default: ""
    t.string "openpgp_header_preference", limit: 255, default: "signencrypt"
    t.text "public_footer", default: ""
    t.text "headers_to_meta", default: "[\"from\", \"to\", \"cc\", \"date\", \"sig\", \"enc\"]"
    t.text "bounces_drop_on_headers", default: "{\"x-spam-flag\":\"yes\"}"
    t.text "keywords_admin_only", default: "[\"subscribe\", \"unsubscribe\", \"delete-key\"]"
    t.text "keywords_admin_notify", default: "[\"add-key\"]"
    t.boolean "send_encrypted_only", default: true
    t.boolean "receive_encrypted_only", default: false
    t.boolean "receive_signed_only", default: false
    t.boolean "receive_authenticated_only", default: false
    t.boolean "receive_from_subscribed_emailaddresses_only", default: false
    t.boolean "receive_admin_only", default: false
    t.boolean "keep_msgid", default: true
    t.boolean "bounces_drop_all", default: false
    t.boolean "bounces_notify_admins", default: true
    t.boolean "include_list_headers", default: true
    t.boolean "include_openpgp_header", default: true
    t.integer "max_message_size_kb", default: 10240
    t.string "language", limit: 255, default: "en"
    t.boolean "forward_all_incoming_to_admins", default: false
    t.integer "logfiles_to_keep", default: 2
    t.text "internal_footer", default: ""
    t.boolean "deliver_selfsent", default: true
    t.boolean "include_autocrypt_header", default: true
    t.boolean "set_reply_to_to_sender", default: false
    t.boolean "munge_from", default: false
    t.boolean "key_auto_import_from_email", default: false
  end

  create_table "subscriptions", force: :cascade do |t|
    t.integer "list_id"
    t.string "email", limit: 255
    t.string "fingerprint", limit: 255
    t.boolean "admin", default: false
    t.boolean "delivery_enabled", default: true
    t.datetime "created_at", precision: nil
    t.datetime "updated_at", precision: nil
    t.index ["email", "list_id"], name: "index_subscriptions_on_email_and_list_id", unique: true
    t.index ["list_id"], name: "index_subscriptions_on_list_id"
  end

end