To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 1b / 1ba2c6ffd62ba44a997d21f2258fab77c2264196.svn-base @ 1298:4f746d8966dd
History | View | Annotate | Download (592 Bytes)
| 1 |
ActiveRecord::Schema.define(:version => 0) do |
|---|---|
| 2 |
|
| 3 |
create_table :categories, :force => true do |t| |
| 4 |
t.column :name, :string |
| 5 |
t.column :parent_id, :integer |
| 6 |
t.column :lft, :integer |
| 7 |
t.column :rgt, :integer |
| 8 |
t.column :organization_id, :integer |
| 9 |
end |
| 10 |
|
| 11 |
create_table :departments, :force => true do |t| |
| 12 |
t.column :name, :string |
| 13 |
end |
| 14 |
|
| 15 |
create_table :notes, :force => true do |t| |
| 16 |
t.column :body, :text |
| 17 |
t.column :parent_id, :integer |
| 18 |
t.column :lft, :integer |
| 19 |
t.column :rgt, :integer |
| 20 |
t.column :notable_id, :integer |
| 21 |
t.column :notable_type, :string |
| 22 |
end |
| 23 |
end |