teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

2

修正

2017/09/08 09:25

投稿

fagai
fagai

スコア2158

answer CHANGED
@@ -3,5 +3,16 @@
3
3
  MySQL
4
4
  [https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php#L16-L19](https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php#L16-L19)
5
5
 
6
+ ```php
7
+ protected $modifiers = [
8
+ 'VirtualAs', 'StoredAs', 'Unsigned', 'Charset', 'Collate', 'Nullable',
9
+ 'Default', 'Increment', 'Comment', 'After', 'First',
10
+ ];
11
+ ```
12
+
6
13
  PostgreSQL
7
- [https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L23](https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L23)
14
+ [https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L23](https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L23)
15
+
16
+ ```php
17
+ protected $modifiers = ['Increment', 'Nullable', 'Default'];
18
+ ```

1

修正

2017/09/08 09:25

投稿

fagai
fagai

スコア2158

answer CHANGED
@@ -1,7 +1,7 @@
1
1
  確認してみましたが、そのようです。
2
2
 
3
3
  MySQL
4
- https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php#L16-L19
4
+ [https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php#L16-L19](https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php#L16-L19)
5
5
 
6
6
  PostgreSQL
7
- https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L23
7
+ [https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L23](https://github.com/laravel/framework/blob/5.5/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L23)