11 lines
206 B
Ruby
11 lines
206 B
Ruby
class CreateUnits < ActiveRecord::Migration
|
|
def change
|
|
create_table :units do |t|
|
|
t.references :project_id
|
|
t.string :name
|
|
t.string :shortname
|
|
t.integer :type
|
|
end
|
|
end
|
|
end
|