Create new migration script:
php artisan make:migration add_api_token --table=users| contract Ownable { | |
| address public owner; | |
| event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); | |
| function Ownable() public { | |
| owner = msg.sender; | |
| } | |
| modifier onlyOwner() { |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>DApp Tutorial</title> | |
| <style> | |
| body { |
| mysql: | |
| image: mysql | |
| container_name: database | |
| ports: | |
| - 3306:3306 | |
| environment: | |
| MYSQL_DATABASE: laravel | |
| MYSQL_ROOT_PASSWORD: 123456 | |
| php: |
| #!/bin/bash | |
| # PhalconPhp with PHP7 installation on ubuntu:16.04 | |
| sudo apt-get update | |
| sudo apt-get install -y php7.0-fpm \ | |
| php7.0-cli \ | |
| php7.0-curl \ | |
| php7.0-gd \ |
| <?php | |
| namespace App\Http; | |
| /** | |
| * Description of VideoStream | |
| * | |
| * @author Rana | |
| * @link https://gist.github.com/vluzrmos/d5682ad426525196d069 | |
| */ |