mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2024-09-07 13:52:01 +00:00
dbfda5cf9e
Add dark / light theme Add social sharing on meme pages Add approving / pending admin section Improve design Add pagination on profiles Make front end date time user friendly Finish rough draft of site And Much more... Still need to fix a few minor things before it goes live. Almost complete.
36 lines
762 B
PHP
36 lines
762 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
class CreateTipsTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('tips', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->foreignId('address_id')->constrained();
|
|
$table->bigInteger('amount');
|
|
$table->string('txid')->unique();
|
|
$table->boolean('is_deposit');
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('tips');
|
|
}
|
|
}
|