Sha256: 3682e054bd25567740394d66a8a5d264abce4923d6a689e717dc5671e01eb145
Contents?: true
Size: 396 Bytes
Versions: 28
Compression:
Stored size: 396 Bytes
Contents
class CreateUserStatuses < ActiveRecord::Migration def self.up create_table :user_statuses do |t| t.belongs_to :user, :null => false t.integer :hp, :null => false, :default => 0 t.integer :mp, :null => false, :default => 0 t.datetime :deleted_at, :default => nil t.timestamps end end def self.down drop_table :user_statuses end end
Version data entries
28 entries across 28 versions & 1 rubygems