lib/bivouac/template/generate/migrate.rb in bivouac-0.2.2 vs lib/bivouac/template/generate/migrate.rb in bivouac-0.2.3
- old
+ new
@@ -7,11 +7,10 @@
module <%= @app.environment.appname %>::Models
class Create<%= @model_class_name %> < V <%= @new_version %>
def self.up
create_table :<%= @model_table_name %> do |t|
- t.column :id, :integer, :null => false
- # ...
+
end
end
def self.down
drop_table :<%= @model_table_name %>
\ No newline at end of file