Se modifican procesos para pagos en linea a travez de stripe
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ return new class extends Migration
|
||||
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('prospectos', function (Blueprint $table) {
|
||||
Schema::create('alumnos', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('nivel');
|
||||
$table->unsignedBigInteger('plan_id');
|
||||
@@ -28,6 +28,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('prospectos');
|
||||
Schema::dropIfExists('alumnos');
|
||||
}
|
||||
};
|
||||
+4
-4
@@ -9,9 +9,9 @@ return new class extends Migration
|
||||
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('prospecto_user', function (Blueprint $table) {
|
||||
$table->unsignedBigInteger('prospecto_id');
|
||||
$table->foreign('prospecto_id')->references('id')->on('prospectos');
|
||||
Schema::create('alumno_user', function (Blueprint $table) {
|
||||
$table->unsignedBigInteger('alumno_id');
|
||||
$table->foreign('alumno_id')->references('id')->on('alumnos');
|
||||
$table->unsignedBigInteger('user_id');
|
||||
$table->foreign('user_id')->references('id')->on('users');
|
||||
});
|
||||
@@ -19,6 +19,6 @@ return new class extends Migration
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('prospecto_user');
|
||||
Schema::dropIfExists('alumno_user');
|
||||
}
|
||||
};
|
||||
+2
-2
@@ -11,7 +11,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('prospecto_status', function (Blueprint $table) {
|
||||
Schema::create('alumno_status', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
});
|
||||
@@ -22,6 +22,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('prospecto_status');
|
||||
Schema::dropIfExists('alumno_status');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user