Finish rough draft of website

Update the payment code so everything is working now

Improve DB structure

Improve design

Add API

Validate XMR Address upon registration

And Much More...

Still Need to work on:

- SEO
- Dropdown in menu (bug, not dropping down)
This commit is contained in:
dev 2021-08-06 13:06:07 -07:00
parent dbfda5cf9e
commit 821fb9b1ed
30 changed files with 186 additions and 261 deletions

View file

@ -1,35 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAddressesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('addresses', function (Blueprint $table) {
$table->id();
$table->string('address', 95)->unique();
$table->integer('address_index');
$table->string('label');
$table->boolean('used');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('addresses');
}
}

View file

@ -16,12 +16,13 @@ class CreateMemesTable extends Migration
Schema::create('memes', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained();
$table->foreignId('address_id')->constrained();
$table->string('title');
$table->string('caption')->nullable();
$table->string('image')->nullable();
$table->boolean('is_approved')->default(0);
$table->boolean('payment_pending')->default(0);
$table->string('address', 95)->nullable()->unique();
$table->integer('account_index')->nullable()->unique();
$table->softDeletes();
$table->timestamps();
});

View file

@ -15,7 +15,7 @@ class CreateTipsTable extends Migration
{
Schema::create('tips', function (Blueprint $table) {
$table->id();
$table->foreignId('address_id')->constrained();
$table->foreignId('meme_id')->constrained();
$table->bigInteger('amount');
$table->string('txid')->unique();
$table->boolean('is_deposit');