Files
old-ribica/front-api/db/migrate/20150118035004_create_units.rb
2015-01-22 22:20:34 +01:00

9 lines
164 B
Ruby

class CreateUnits < ActiveRecord::Migration
def change
create_table :units do |t|
t.string :name
t.string :short_name, limit: 4
end
end
end