2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-01-27 15:35:18 +00:00
|
|
|
class CreateProjectImports < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
create_table :project_imports do |t|
|
|
|
|
t.references :project
|
|
|
|
t.string :name
|
|
|
|
t.string :version
|
|
|
|
t.datetime :file_mtime
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
drop_table :project_imports
|
|
|
|
end
|
|
|
|
end
|