2020-08-07 01:14:14 +02:00
|
|
|
class CreateLinks < ActiveRecord::Migration[4.2]
|
2020-07-29 11:19:20 +02:00
|
|
|
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
|