Skip to content

Commit 29520f8

Browse files
committed
[RF] remove no longer used methods
1 parent 9132c5f commit 29520f8

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

src/Schemas/MigrationField.php

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -93,44 +93,4 @@ public function isUnique(): bool
9393
{
9494
return $this->unique;
9595
}
96-
97-
public function makeValidationRule(): string
98-
{
99-
$rule = 'required';
100-
101-
switch ($this->getType()) {
102-
103-
case 'string':
104-
$rule .= '|between:3,255';
105-
break;
106-
107-
case 'integer':
108-
$rule .= '|integer';
109-
break;
110-
111-
case 'date':
112-
$rule .= '|date';
113-
break;
114-
}
115-
116-
return $rule;
117-
}
118-
119-
public function makeColumn()
120-
{
121-
return [
122-
'name' => 'title',
123-
'type' => 'text',
124-
'label' => 'Title',
125-
];
126-
}
127-
128-
public function makeField()
129-
{
130-
return [
131-
'name' => 'title',
132-
'type' => 'text',
133-
'label' => 'Title',
134-
];
135-
}
13696
}

0 commit comments

Comments
 (0)