class CreateShells
Public Class Methods
down()
click to toggle source
# File lib/generators/run_shell/templates/create_shells.rb, line 12 def self.down drop_table :shells end
up()
click to toggle source
# File lib/generators/run_shell/templates/create_shells.rb, line 2 def self.up create_table :shells do |t| t.string :file_path t.string :content t.string :whodunnit t.boolean :result t.datetime :created_at end end