examples/blog_goh/db/create.rb in bivouac-0.0.3 vs examples/blog_goh/db/create.rb in bivouac-0.0.4
- old
+ new
@@ -1,4 +1,8 @@
+module Blog
+ include Camping::Session
+end
+
def Blog.create
Camping::Models::Session.create_schema
- Blog::Models.create_schema :assume => (Blog::Models::Post.table_exists? ? 1.0 : 0.0)
+ Blog::Models.create_schema :assume => (Blog::Models::Comment.table_exists? ? 1.0 : 0.0)
end