quartz_app/db/migrate/20180827124343_create_projets.rb
Caroline Girard 37d278a7da initial
2018-09-13 13:32:45 +02:00

14 lines
267 B
Ruby

class CreateProjets < ActiveRecord::Migration
def change
create_table :projets do |t|
t.string :name
t.string :slug
t.integer :image_file_id
t.text :description
t.integer :position
t.timestamps null: false
end
end
end