Customers Scaffold
Faker Install
Customer Seed
Removed old db data
php artisan generate:resource group --fields="name:string"
php artisan generate:resource state --fields="name:string"
php artisan generate:resource country --fields="name:string, state_id:integer:unsigned:index"
php artisan generate:resource city --fields="name:string, zip_id:integer:unsigned:index, country_id:integer:unsigned:index"
php artisan generate:resource zip --fields="code:char(5)"
php artisan generate:resource customer --fields="card_id:integer:unsigned:unique, first_name:stringlast_name:string, gender:char(1), city_id:integer:unsigned, address:string, email:string, phone:string, mobile:string, birthdate:date, , group_id:integer:unsigned, notes:text"
php artisan generate:resource card --fields="card:string, customer_id:integer:unsigned:index"
php artisan generate:resource campaign --fields="start:date, end:date, deadline:date"
php artisan generate:resource card_points --fields="points:decimal(5,1), campaign_id:integer:unsigned:index, card_id:integer:unsigned"
php artisan generate:resource sale --fields="customer_id:integer:unsigned:index, date:datetime"
php artisan generate:resource item --fields="code:string, product:string"
php artisan generate:resource item_point --fields="item_id:integer:unsigned:index, points:decimal(5,1)"
php artisan generate:resource item_sale --fields="sale_id:integer:unsigned:index, item_id:integer:unsigned:index, quantity:integer:unsigned, cost:decimal(5,2), pointless:boolean"
Fix Customers Migration error
Fix Customers Migration error
Add SQLite DB