Sha256: 32a5bf86639c969e5d2d5cb072a9ae53b8596317f425b4a0e481ae4f86e99be4
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
# # Project <%= @app.environment.appname %> # # Created using bivouac on <%= Time.now %>. # Copyright (c) <%= Time.now.year %> __My__. All rights reserved. # 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 %> end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bivouac-0.2.0 | lib/bivouac/template/generate/migrate.rb |
bivouac-0.2.1 | lib/bivouac/template/generate/migrate.rb |
bivouac-0.2.2 | lib/bivouac/template/generate/migrate.rb |