Archive: ComponentOwl Rails app, DB backups, go redirect script
This commit is contained in:
19
db/migrate/20101207170801_create_failed_activations.rb
Normal file
19
db/migrate/20101207170801_create_failed_activations.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user