Skip to content

Instantly share code, notes, and snippets.

@aziflaj
Created May 2, 2015 15:51
Show Gist options
  • Save aziflaj/fb84af4fa720bfe99873 to your computer and use it in GitHub Desktop.
Save aziflaj/fb84af4fa720bfe99873 to your computer and use it in GitHub Desktop.
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table){
$table->increments('id');
// shembull
$table->string('username');
//shtoji ketu te tjerat
$table->timestamps();
$table->rememberToken();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment