PHP Classes

File: app/migration/tables/products.php

Recommend this page to a friend!
  Classes of Ali YILMAZ  >  PHP API Service  >  app/migration/tables/products.php  >  Download  
File: app/migration/tables/products.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP API Service
Implements a project API using the Mind framework
Author: By
Last change:
Date: 6 months ago
Size: 449 bytes
 

Contents

Class file image Download
<?php

$scheme
= array(
   
'id:increments',
   
'branch_id:int',
   
'product_type:string@10',
   
'product_code:string',
   
'product_name:string',
   
'product_quantity:int',
   
'product_tax:string@10',
   
'product_price:decimal',
   
'product_discount_price:decimal',
   
'product_status:string@5',
   
'created_at:string@19',
   
'updated_at:string@19'
);

if(!
$this->is_table('products')){
   
$this->tableCreate('products', $scheme);
}
   

For more information send a message to info at phpclasses dot org.