lockaz_app/db/migrate/00051_create_i_task_projects.rb
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +02:00

13 lines
262 B
Ruby

class CreateITaskProjects < ActiveRecord::Migration[6.0]
def change
create_table :i_task_projects do |t|
t.string :name
t.string :slug
t.references :admin, foreign_key: true
t.text :description
t.timestamps
end
end
end