diff --git a/app/Models/Servicio.php b/app/Models/Servicio.php index 94527d2..dda30d3 100644 --- a/app/Models/Servicio.php +++ b/app/Models/Servicio.php @@ -24,7 +24,8 @@ class Servicio extends Model 'ver_url', 'url', 'por_tiempo', - 'renovacion' + 'renovacion', + 'precio' ]; diff --git a/database/migrations/2023_07_26_110451_add_precio_to_servicios_table.php b/database/migrations/2023_07_26_110451_add_precio_to_servicios_table.php new file mode 100644 index 0000000..f91ed4c --- /dev/null +++ b/database/migrations/2023_07_26_110451_add_precio_to_servicios_table.php @@ -0,0 +1,32 @@ + string('precio')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('servicios', function (Blueprint $table) { + // + }); + } +};