Class: CreateBackscripts

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/initializer/templates/migration.rb

Instance Method Summary collapse

Instance Method Details

#downObject



12
13
# File 'lib/generators/initializer/templates/migration.rb', line 12

def down
end

#upObject



2
3
4
5
6
7
8
9
10
# File 'lib/generators/initializer/templates/migration.rb', line 2

def up
  create_table :backscripts do |t|
    t.string :command_name
    t.string :command
    t.string :type_of_command
    t.boolean :active
    t.string  :string
  end
end