12 lines
288 B
Ruby
12 lines
288 B
Ruby
|
class CreateLinks < ActiveRecord::Migration
|
||
|
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
|