Sha256: 66365af9609b8b46e64c44d201dbe7c14fbba8ac3a2f44740b0da8c753b755af
Contents?: true
Size: 344 Bytes
Versions: 5
Compression:
Stored size: 344 Bytes
Contents
class AddXAndYToRtmlInstructions < ActiveRecord::Migration def self.up # For GUI representation. add_column :rtml_instructions, :x, :integer, :default => 0 add_column :rtml_instructions, :y, :integer, :default => 0 end def self.down remove_column :rtml_instructions, :y remove_column :rtml_instructions, :x end end
Version data entries
5 entries across 5 versions & 1 rubygems