foodsoft/db/migrate/20181203000000_create_links.foodsoft_links.rb
2020-09-05 14:40:11 +02:00

11 lines
293 B
Ruby

class CreateLinks < ActiveRecord::Migration[4.2]
def change
create_table :links do |t|
t.string :name, null: false
t.string :url, null: false
t.references :workgroup
t.boolean :indirect, null: false, default: false
t.string :authorization
end
end
end