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