basic_app/db/migrate/00051_create_i_task_projects.rb
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +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