Skip to content

Commit 985444e

Browse files
Land rapid7#19715, Update README.md
2 parents 2edbc6a + 051a46a commit 985444e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

db/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
Contains `modules_metadata_base.json` which contains information about all modules within Metasploit, as well as
2-
`schema.rb` which describes current state of the database schema maintained by Rails ActiveRecord.
1+
This directory contains the following files:
2+
3+
- `modules_metadata_base.json`, which contains information about all modules within Metasploit.
4+
- `schema.rb`, which is auto-generated from the current state of the database schema maintained by Rails ActiveRecord.
5+
This file is auto-generated from the current state of the database.
6+
7+
`schema.rb` is the source Rails uses to define your schema when running `bin/rails db:schema:load`. When creating a new
8+
database, `bin/rails db:schema:load` tends to be faster and is potentially less error-prone than running all of your
9+
migrations from scratch. Old migrations may fail to apply correctly if those migrations use external dependencies or
10+
application code. We _strongly_ recommend that you check this file into your version control system.

0 commit comments

Comments
 (0)