kaps_app/db/migrate/20190120205207_create_kaps_days.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

13 lines
281 B
Ruby

class CreateKapsDays < ActiveRecord::Migration
def change
create_table :kaps_days do |t|
t.date :date
t.references :p_customer, index: true, foreign_key: true
t.integer :points
t.integer :total_points
t.timestamps null: false
end
end
end