Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
angelic committed Jun 24, 2009
1 parent a76b4c3 commit e125628
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.markdown
Expand Up @@ -8,9 +8,7 @@ To generate the ScheduleFu migrations, run:

rake db:migrate:schedule_fu

Below is a diagram of the models. The database diagram can be found in docs/database.png along with the original Dia file.

## Tables
### Tables

* calendars: distinct calendar that can be associated with your own models
* calendar_recurrences: specific information on particular recurring dates
Expand All @@ -20,12 +18,15 @@ Below is a diagram of the models. The database diagram can be found in docs/dat
year before or after any date used in an event.
* calendar_event_dates: a view that has a row for each date included in the event, original or modified information if a column was modified (time, description, etc), plus some additional informational columns

## Informational columns in calendar_event_dates
### Informational columns in calendar_event_dates

* added: true if this date was added as a mod and not in the original event
* modified: for dates that are included in the original event but have been modified (time, description, etc)
* removed: true if this particular date was removed. There are named scopes in calendar_event_dates for :removed and :not_removed

### Database diagram
The database diagram can also be found in docs/database.png along with the original Dia file.

![database.png](http://angelic.github.com/schedule_fu/database.png)

This plugin borrows a lot from [acts_as_calendar](http://github.com/dball/acts_as_calendar)
Expand Down

0 comments on commit e125628

Please sign in to comment.