Links, mainly...
This commit is contained in:
parent
fd42a3f173
commit
21ab02d647
69 changed files with 2258 additions and 155 deletions
27
db/schema.rb
generated
27
db/schema.rb
generated
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_07_20_231941) do
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_07_25_173433) do
|
||||
create_table "action_text_rich_texts", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.text "body"
|
||||
|
|
@ -63,7 +63,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_07_20_231941) do
|
|||
create_table "checklists", force: :cascade do |t|
|
||||
t.string "code"
|
||||
t.string "name"
|
||||
t.text "description"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
|
@ -71,7 +70,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_07_20_231941) do
|
|||
create_table "checks", force: :cascade do |t|
|
||||
t.string "position"
|
||||
t.string "name"
|
||||
t.text "success_criterion"
|
||||
t.integer "level"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
|
|
@ -81,15 +79,31 @@ ActiveRecord::Schema[7.1].define(version: 2024_07_20_231941) do
|
|||
t.integer "report_id", null: false
|
||||
t.string "path"
|
||||
t.string "title"
|
||||
t.text "description"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["report_id"], name: "index_elements_on_report_id"
|
||||
end
|
||||
|
||||
create_table "link_categories", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.text "description"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "links", force: :cascade do |t|
|
||||
t.string "url"
|
||||
t.string "text"
|
||||
t.datetime "last_check_at"
|
||||
t.integer "fail_count", default: 0, null: false
|
||||
t.integer "link_category_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["link_category_id"], name: "index_links_on_link_category_id"
|
||||
end
|
||||
|
||||
create_table "reports", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.text "comment"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
|
@ -97,10 +111,8 @@ ActiveRecord::Schema[7.1].define(version: 2024_07_20_231941) do
|
|||
create_table "success_criteria", force: :cascade do |t|
|
||||
t.integer "element_id", null: false
|
||||
t.string "title"
|
||||
t.text "description"
|
||||
t.integer "level"
|
||||
t.integer "result"
|
||||
t.text "comment"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["element_id"], name: "index_success_criteria_on_element_id"
|
||||
|
|
@ -111,5 +123,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_07_20_231941) do
|
|||
add_foreign_key "checklist_entries", "checklists"
|
||||
add_foreign_key "checklist_entries", "checks"
|
||||
add_foreign_key "elements", "reports"
|
||||
add_foreign_key "links", "link_categories"
|
||||
add_foreign_key "success_criteria", "elements"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue