Skip to content

Commit

Permalink
metadata field classes wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hinanaya committed Jul 18, 2024
1 parent e381a8c commit 782fa47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/base/metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

abstract class Metadata
{
public static string $sqlType;
public static string $constraintTable;
public static string $constraintColumn;
}
1 change: 1 addition & 0 deletions classes/metadata/text.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

class Text extends \OB\Classes\Base\Metadata
{
public static string $sqlType = 'VARCHAR(255)';
}

0 comments on commit 782fa47

Please sign in to comment.