diff --git a/app/migrations/20180330090144_user_fields.php b/app/migrations/20180330090144_user_fields.php new file mode 100644 index 0000000..6d01ce0 --- /dev/null +++ b/app/migrations/20180330090144_user_fields.php @@ -0,0 +1,30 @@ +table('user') + ->addColumn('name', 'string', [ + 'limit' => 128, + 'null' => true, + 'after' => 'username' + ]) + ->addColumn('github_id', 'integer', [ + 'limit' => 14, + 'null' => true, + 'after' => 'password' + ]) + ->addColumn('github_user', 'string', [ + 'limit' => 80, + 'null' => true, + 'after' => 'github_id' + ])->save(); + } +}