Show More
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml * bootrapize the user_admin * now considering user.enabled * tidy up route
File last commit:
Show/Diff file:
Action:
db/migrate/014_create_grader_processes.rb | 16 lines | 384 B | text/x-ruby | RubyLexer |
class CreateGraderProcesses < ActiveRecord::Migration
def self.up
create_table :grader_processes do |t|
t.column :ip, :string, :limit => 20
t.column :pid, :integer
t.column :mode, :string
t.column :active, :boolean
t.timestamps
end
add_index :grader_processes, ["ip","pid"]
end
def self.down
drop_table :grader_processes
end
end