Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tidy up 'Set Up' section

  • Loading branch information...
commit f8ce5b5c79c9f58ed9b35dbbe06f9bbd0060994f 1 parent cf6540b
@namelessjon namelessjon authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 getting-started.markdown
View
9 getting-started.markdown
@@ -162,7 +162,8 @@ end
Set up your database tables
---------------------------
-To create the tables in the underlying storage, run:
+Relational Databases work with pre-defined tables. To create the tables in the
+underlying storage, run:
{% highlight ruby %}
DataMapper.auto_migrate!
@@ -170,10 +171,10 @@ DataMapper.auto_migrate!
This will issue the necessary `CREATE` statements (`DROP`ing the table first, if
it exists) to define each storage according to their properties. After
-`auto_migrate!` has been run, the database should be in a pristine state, reset
-back to the starting state.
+`auto_migrate!` has been run, the database should be in a pristine state. All
+the tables will be empty and match the model definitions.
-This can be too extreme, wiping out existing data, so you could also do:
+This wipes out existing data, so you could also do:
{% highlight ruby %}
DataMapper.auto_upgrade!
Please sign in to comment.
Something went wrong with that request. Please try again.