Skip to content

Commit dd92e54

Browse files
Update README.md
Minor edits to improve the README, added some important information from schema.rb comments.
1 parent e7b04ab commit dd92e54

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

db/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
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 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 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. We _strongly_ recommend that you check this file into your version control system.

0 commit comments

Comments
 (0)