Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. hashan
    3. Best
    • Profile
    • Following 1
    • Followers 0
    • Topics 8
    • Posts 20
    • Best 5
    • Controversial 0
    • Groups 3

    Best posts made by hashan

    • How to fetch realtime Data from firebase ?

      Firebase realtime database එකකින් data ගන්නෙ කොහොමද අපිට custom dashboard එහෙක පෙන්නන්න පුලුවන් විදිහට.. charts වලට එහෙම.

      posted in General Discussion
      hashan
      hashan
    • What is the best javascript framework to learn?

      What is the best javascript framework to learn? What is popular in sri lanka? Ex: Codgen uses Angular for their frontend development.

      posted in Front-End Development
      hashan
      hashan
    • RE: List of Web Development (JS) Resources You Should Know About...

      Thanks bro well done

      posted in Web Development
      hashan
      hashan
    • can not run migration
      public function up()
      {
          Schema::create('registerusers', function (Blueprint $table) {
              $table->increments('id');
              $table->string('firstname', 10);
              $table->string('lastname', 20);
              $table->integer('phone', 10);
              $table->string('email')->unique();
              $table->string('gender');
              $table->string('vehiclemodel');
              $table->string('platenum', 6);
              $table->timestamps();
          });
      }
      

      Erroris : Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key

      posted in Back-End Development
      hashan
      hashan
    • Laravel Data Save Error SQLSTATE[HY000]: General error: 1364

      SQLSTATE[HY000]: General error: 1364 Field 'username' doesn't have a default value (SQL: insert into registerusers (updated_at, created_at) values (2019-07-15 12:03:06, 2019-07-15 12:03:06))
      menna me error eka enwa, data base ekata data sav krnna giama.

      public function storeRegister(Request $request)
      {
      $registeruser = new registeruser;
      $request->all();
      $registeruser->save();
      }

      posted in Back-End Development
      hashan
      hashan
    • 1 / 1