Please enable JavaScript to use RhodeCode Enterprise
class CreateConfigurations < ActiveRecord :: Migration
def self . up
create_table :configurations do | t |
t . column :key , :string
t . column :value_type , :string
t . column :value , :string
t . timestamps
end
Configuration . reset_column_information
Configuration . create ( :key => 'system.single_user_mode' ,
:value_type => 'boolean' ,
:value => 'false' )
Configuration . create ( :key => 'ui.front.title' ,
:value_type => 'string' ,
:value => 'Grader' )
Configuration . create ( :key => 'ui.front.welcome_message' ,
:value_type => 'string' ,
:value => 'Welcome!' )
Configuration . create ( :key => 'ui.show_score' ,
:value_type => 'boolean' ,
:value => 'true' )
Configuration . create ( :key => 'contest.time_limit' ,
:value_type => 'string' ,
:value => 'unlimited' )
end
def self . down
drop_table :configurations
end
end
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings