add weekly maintenance script

This commit is contained in:
albert
2013-03-31 14:11:48 -04:00
parent b025256480
commit fc32a0023c
9 changed files with 96 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
class CreateKeyValues < ActiveRecord::Migration
def change
create_table :key_values do |t|
t.string :key, :null => false
t.text :value
t.timestamps
end
add_index :key_values, :key, :unique => true
end
end