Permalink
Browse files

Updated README.markdown to correctly render code block. Shoutout from…

… the Ruby Hoedown!
  • Loading branch information...
1 parent 156c599 commit 96e1c192270d4b3fd3a092a068c5fd29a961e674 Flip Sasser committed Aug 28, 2009
Showing with 21 additions and 21 deletions.
  1. +21 −21 README.markdown
View
@@ -14,27 +14,27 @@ I will add a Gem sooner or later.
First, get some instructions:
- $ rake db:indexes:help
-
- rake db:indexes will generate a list of indexes your application's database may or may not need.
-
- To see a list of all indexes it thinks you need, just use rake db:indexes
-
- You can add migration=true to generate a migration file
- or perform=true to perform the indexing immediately:
- `rake db:indexes migration=true`
-
- You can also target specific column types, like so:
- `rake db:indexes:boolean`
- `rake db:indexes:datetime`
- `rake db:indexes:geo`
- `rake db:indexes:primary`
- `rake db:indexes:relationships`
-
- You can also filter by column names and types, or by whole tables:
- `rake db:indexes:names names=type,state`
- `rake db:indexes:types types=integer,decimal`
- `rake db:indexes tables=users,posts`
+ $ rake db:indexes:help
+
+ rake db:indexes will generate a list of indexes your application's database may or may not need.
+
+ To see a list of all indexes it thinks you need, just use rake db:indexes
+
+ You can add migration=true to generate a migration file
+ or perform=true to perform the indexing immediately:
+ `rake db:indexes migration=true`
+
+ You can also target specific column types, like so:
+ `rake db:indexes:boolean`
+ `rake db:indexes:datetime`
+ `rake db:indexes:geo`
+ `rake db:indexes:primary`
+ `rake db:indexes:relationships`
+
+ You can also filter by column names and types, or by whole tables:
+ `rake db:indexes:names names=type,state`
+ `rake db:indexes:types types=integer,decimal`
+ `rake db:indexes tables=users,posts`
Read the instructions above and start finding missing indexes! Thanks to Matt Janowski for the inspiration (http://robots.thoughtbot.com/post/163627511/a-grand-piano-for-your-violin) and Thoughtbot / Jon Yurek for the core of the indexes detection code!

0 comments on commit 96e1c19

Please sign in to comment.