Sha256: 68ba8a2c767ca4107acb8b3927abf61618454dc77e6e2fb29a14b3b24e33919c
Contents?: true
Size: 269 Bytes
Versions: 2
Compression:
Stored size: 269 Bytes
Contents
class <%= migration_name_for_array.camelize %> def self.up create_table :<%= model_name.pluralize %> do |t| t.string :login t.string :group_strings t.string :name t.timestamps end end def self.down drop_table :<%= model_name.pluralize %> end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adauth-0.1.0 | lib/generators/adauth/user_model/templates/migration.rb.erb |
adauth-0.0.1pre | lib/generators/adauth/user_model/templates/migration.rb.erb |