panier_app/db/migrate/00051_create_i_task_projects.rb
Nicolas Bally d744a04b28 initial
2020-10-30 22:26:40 +01: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