11 lines
179 B
Ruby
11 lines
179 B
Ruby
|
|
class CreateOrders < ActiveRecord::Migration[8.1]
|
||
|
|
def change
|
||
|
|
create_table :orders do |t|
|
||
|
|
t.string :status
|
||
|
|
t.decimal :total
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|