1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00
fab-manager/db/migrate/20220808161314_create_orders.rb
2022-08-19 20:03:09 +02:00

15 lines
313 B
Ruby

class CreateOrders < ActiveRecord::Migration[5.2]
def change
create_table :orders do |t|
t.belongs_to :statistic_profile, foreign_key: true
t.integer :operator_id
t.string :token
t.string :reference
t.string :state
t.integer :amount
t.timestamps
end
end
end