|
2 | 2 | # of editing this file, please use the migrations feature of Active Record to
|
3 | 3 | # incrementally modify your database, and then regenerate this schema definition.
|
4 | 4 | #
|
5 |
| -# Note that this schema.rb definition is the authoritative source for your |
6 |
| -# database schema. If you need to create the application database on another |
7 |
| -# system, you should be using db:schema:load, not running all the migrations |
8 |
| -# from scratch. The latter is a flawed and unsustainable approach (the more migrations |
9 |
| -# you'll amass, the slower it'll run and the greater likelihood for issues). |
| 5 | +# This file is the source Rails uses to define your schema when running `bin/rails |
| 6 | +# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to |
| 7 | +# be faster and is potentially less error prone than running all of your |
| 8 | +# migrations from scratch. Old migrations may fail to apply correctly if those |
| 9 | +# migrations use external dependencies or application code. |
10 | 10 | #
|
11 | 11 | # It's strongly recommended that you check this file into your version control system.
|
12 | 12 |
|
13 |
| -ActiveRecord::Schema.define(version: 2019_10_29_105530) do |
| 13 | +ActiveRecord::Schema.define(version: 2024_04_15_080757) do |
14 | 14 |
|
15 |
| - create_table "barbeque_apps", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 15 | + create_table "barbeque_apps", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
16 | 16 | t.string "name", null: false
|
17 | 17 | t.string "docker_image", null: false
|
18 | 18 | t.text "description"
|
|
21 | 21 | t.index ["name"], name: "index_barbeque_apps_on_name", unique: true
|
22 | 22 | end
|
23 | 23 |
|
24 |
| - create_table "barbeque_docker_containers", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 24 | + create_table "barbeque_docker_containers", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
25 | 25 | t.string "message_id", null: false
|
26 | 26 | t.string "container_id", null: false
|
27 | 27 | t.datetime "created_at", null: false
|
28 | 28 | t.datetime "updated_at", null: false
|
29 | 29 | t.index ["message_id"], name: "index_barbeque_docker_containers_on_message_id", unique: true
|
30 | 30 | end
|
31 | 31 |
|
32 |
| - create_table "barbeque_ecs_hako_tasks", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 32 | + create_table "barbeque_ecs_hako_tasks", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
33 | 33 | t.string "message_id", null: false
|
34 | 34 | t.string "cluster", null: false
|
35 | 35 | t.string "task_arn", null: false
|
|
38 | 38 | t.index ["message_id"], name: "index_barbeque_ecs_hako_tasks_on_message_id", unique: true
|
39 | 39 | end
|
40 | 40 |
|
41 |
| - create_table "barbeque_job_definitions", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 41 | + create_table "barbeque_job_definitions", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
42 | 42 | t.string "job", null: false, collation: "utf8mb4_bin"
|
43 | 43 | t.integer "app_id", null: false
|
44 | 44 | t.string "command", null: false
|
|
48 | 48 | t.index ["job", "app_id"], name: "index_barbeque_job_definitions_on_job_and_app_id", unique: true
|
49 | 49 | end
|
50 | 50 |
|
51 |
| - create_table "barbeque_job_executions", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 51 | + create_table "barbeque_job_executions", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
52 | 52 | t.string "message_id", null: false
|
53 | 53 | t.integer "status", default: 0, null: false
|
54 | 54 | t.datetime "created_at", null: false
|
|
62 | 62 | t.index ["status"], name: "index_barbeque_job_executions_on_status"
|
63 | 63 | end
|
64 | 64 |
|
65 |
| - create_table "barbeque_job_queues", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 65 | + create_table "barbeque_job_queues", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
66 | 66 | t.string "name", null: false
|
67 | 67 | t.text "description"
|
68 | 68 | t.string "queue_url", null: false
|
|
71 | 71 | t.index ["name"], name: "index_barbeque_job_queues_on_name", unique: true
|
72 | 72 | end
|
73 | 73 |
|
74 |
| - create_table "barbeque_job_retries", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 74 | + create_table "barbeque_job_retries", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
75 | 75 | t.string "message_id", null: false
|
76 | 76 | t.integer "job_execution_id", null: false
|
77 | 77 | t.integer "status", default: 0, null: false
|
|
82 | 82 | t.index ["status"], name: "index_barbeque_job_retries_on_status"
|
83 | 83 | end
|
84 | 84 |
|
85 |
| - create_table "barbeque_retry_configs", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 85 | + create_table "barbeque_retry_configs", charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
86 | 86 | t.integer "job_definition_id", null: false
|
87 | 87 | t.integer "retry_limit", default: 3, null: false
|
88 | 88 | t.float "base_delay", default: 15.0, null: false
|
|
93 | 93 | t.index ["job_definition_id"], name: "index_barbeque_retry_configs_on_job_definition_id", unique: true
|
94 | 94 | end
|
95 | 95 |
|
96 |
| - create_table "barbeque_slack_notifications", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
| 96 | + create_table "barbeque_slack_notifications", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t| |
97 | 97 | t.integer "job_definition_id"
|
98 | 98 | t.string "channel", null: false
|
99 | 99 | t.boolean "notify_success", default: false, null: false
|
|
103 | 103 | t.boolean "notify_failure_only_if_retry_limit_reached", default: false, null: false
|
104 | 104 | end
|
105 | 105 |
|
106 |
| - create_table "barbeque_sns_subscriptions", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t| |
| 106 | + create_table "barbeque_sns_subscriptions", id: :integer, charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t| |
107 | 107 | t.string "topic_arn", null: false
|
108 | 108 | t.integer "job_queue_id", null: false
|
109 | 109 | t.integer "job_definition_id", null: false
|
|
0 commit comments