Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

17 wiersze
363B

  1. <?php
  2. use Framework\Database\Connection\Connection;
  3. class CreateStockTable
  4. {
  5. public function migrate(Connection $connection)
  6. {
  7. $table = $connection->createTable('stock');
  8. $table->id('id');
  9. $table->int('item_id');
  10. $table->int('location_id');
  11. $table->int('quantity')->default(0);
  12. $table->execute();
  13. }
  14. }

Powered by TurnKey Linux.