Skip to content

Commit

Permalink
Merge pull request #86 from WebFiori/usernane-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
usernane authored Jan 2, 2024
2 parents 6a004e9 + 2c8f048 commit c32d8c0
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Database abstraction layer of WebFiori framework.

<p style="text-align: center">
<a href="https://github.com/WebFiori/database/actions">
<img alt="PHP 8 Build Status" src="https://github.com/WebFiori/database/workflows/php83.yml/badge.svg?branch=main">
<img alt="PHP 8 Build Status" src="https://github.com/WebFiori/database/actions/workflows/php83.yml/badge.svg?branch=main">
</a>
<a href="https://codecov.io/gh/WebFiori/database">
<img alt="CodeCov" src="https://codecov.io/gh/WebFiori/database/branch/main/graph/badge.svg?token=cDF6CxGTFi" />
Expand Down Expand Up @@ -43,15 +43,15 @@ Database abstraction layer of WebFiori framework.
## Supported PHP Versions
| Build Status |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php70.yml"><img src="https://github.com/WebFiori/database/workflows/php70.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php71.yml"><img src="https://github.com/WebFiori/database/workflows/php71.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php72.yml"><img src="https://github.com/WebFiori/database/workflows/php72.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php73.yml"><img src="https://github.com/WebFiori/database/workflows/php73.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php74.yml"><img src="https://github.com/WebFiori/database/workflows/php74.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/database/workflows/php80.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/database/workflows/php81.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/database/workflows/php82.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php83.yml"><img src="https://github.com/WebFiori/database/workflows/php83.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php70.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php70.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php71.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php71.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php72.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php72.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php73.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php73.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php74.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php74.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php80.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php81.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php82.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/database/actions/workflows/php83.yml"><img src="https://github.com/WebFiori/database/actions/workflows/php83.yml/badge.svg?branch=main"></a> |

## Supported Databases
- MySQL
Expand Down Expand Up @@ -190,22 +190,22 @@ The method `Database::createBlueprint()` is used to create a table based on conn
``` php
$database->createBlueprint('users_information')->addColumns([
'id' => [
'type' => 'int',
'size' => 5,
'primary' => true,
'auto-inc' => true
ColOption::TYPE => DataType::INT,
ColOption::SIZE => 5,
ColOption::PRIMARY => true,
ColOption::AUTO_INCREMENT => true
],
'first-name' => [
'type' => 'varchar',
'size' => 15
ColOption::TYPE => DataType::VARCHAR,
ColOption::SIZE => 15
],
'last-name' => [
'type' => 'varchar',
'size' => 15
ColOption::TYPE => DataType::VARCHAR,
ColOption::SIZE => 15
],
'email' => [
'type' => 'varchar',
'size' => 128
ColOption::TYPE => DataType::VARCHAR,
ColOption::SIZE => 128
]
]);

Expand Down

0 comments on commit c32d8c0

Please sign in to comment.