contactUs/db/migrate/20220512140948_create_messages.rb
2022-05-12 19:44:54 +04:30

12 lines
241 B
Ruby

class CreateMessages < ActiveRecord::Migration[6.0]
def change
create_table :messages do |t|
t.string :title
t.text :description
t.string :email, null: false
t.string :phone
t.timestamps
end
end
end