20 lines
439 B
Ruby
20 lines
439 B
Ruby
|
|
class CreateFailedActivations < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
create_table :failed_activations do |t|
|
||
|
|
t.string :serial_key
|
||
|
|
t.integer :build
|
||
|
|
t.string :computer_id, :references => nil
|
||
|
|
t.string :product
|
||
|
|
t.string :ip
|
||
|
|
t.string :result
|
||
|
|
t.text :final_judgement
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
drop_table :failed_activations
|
||
|
|
end
|
||
|
|
end
|