|
Revision 146, 202 bytes
(checked in by why, 2 years ago)
|
- lib/camping/db.rb: The create_schema method takes some options now. The :assume option lets you force a default version if no migration table is found. So, if you know that the user has some of the right tables (you deduce that they have version 1.0 tables,) then you can call create_schema :assume => 1.0 and the 1.0 (and below) upgrades will be skipped.
- examples/: altered all the examples to use migrations and create_schema :assume.
|
| Line | |
|---|
| 1 | If you've got camping installed, why not run all these examples using TheCampingServer? |
|---|
| 2 | |
|---|
| 3 | From this directory, run: `camping .` |
|---|
| 4 | |
|---|
| 5 | NOTE: You'll need the active_record and acts_as_versioned gems installed. |
|---|