mirror of
https://github.com/kingomarnajjar/CA-Hackathon-Term2.git
synced 2026-07-25 22:27:26 +10:00
11 lines
208 B
Ruby
11 lines
208 B
Ruby
class CreateProducts < ActiveRecord::Migration[5.1]
|
|
def change
|
|
create_table :products do |t|
|
|
t.string :photo
|
|
t.text :description
|
|
t.integer :price
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|