kaiho/db/migrate/20180722072217_create_softwares.rb

11 lines
215 B
Ruby
Raw Normal View History

2018-07-22 15:44:29 +00:00
class CreateSoftwares < ActiveRecord::Migration[5.2]
def change
create_table :softwares do |t|
t.string :name, uniqueness: true, null: false
t.string :website
t.timestamps
end
end
end