test/database.rb in acts-as-joinable-0.0.1.7 vs test/database.rb in acts-as-joinable-0.0.6
- old
+ new
@@ -26,13 +26,20 @@
create_table :pages, :force => true do |t|
t.string :title
t.timestamps
end
+ create_table :groups, :force => true do |t|
+ t.string :title
+ t.string :type
+ t.timestamps
+ end
+
create_table :relationships do |t|
t.references :parent, :polymorphic => true
t.references :child, :polymorphic => true
t.string :context
+ t.string :value
t.integer :position
t.timestamps
end
end