Sha256: 09297f9fbded0fe00c7c9d7cd27d956adb63dee066b38118a61d1b63f67914d8
Contents?: true
Size: 312 Bytes
Versions: 28
Compression:
Stored size: 312 Bytes
Contents
class CreateCards < ActiveRecord::Migration def self.up create_table :cards do |t| t.string :name, :null => false t.integer :hp, :null => false, :default => 0 t.integer :mp, :null => false, :default => 0 t.timestamps end end def self.down drop_table :cards end end
Version data entries
28 entries across 28 versions & 1 rubygems