17 lines
303 B
Ruby
17 lines
303 B
Ruby
|
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
|