Sha256: fb18d9e25328ac346fcf9335f663bef2feac4f063f18fc47952f7b1aca383900
Contents?: true
Size: 389 Bytes
Versions: 31
Compression:
Stored size: 389 Bytes
Contents
class Create<%= user_plural_class_name %> < ActiveRecord::Migration def self.up create_table :<%= user_plural_name %> do |t| t.column :username, :string t.column :email, :string t.column :password_hash, :string t.column :password_salt, :string t.timestamps end end def self.down drop_table :<%= user_plural_name %> end end
Version data entries
31 entries across 31 versions & 8 rubygems