bievre_app/db/migrate/20180827124343_create_projets.rb
Caroline Girard dee35396f0 initial
2018-09-07 11:04:43 +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