@@ -2841,7 +2841,9 @@ public function provideSqlTypes()
2841
2841
['jsonb_text ' , ['name ' => SQLiteAdapter::PHINX_TYPE_JSONB , 'limit ' => null , 'scale ' => null ]],
2842
2842
['uuid ' , ['name ' => SQLiteAdapter::PHINX_TYPE_UUID , 'limit ' => null , 'scale ' => null ]],
2843
2843
['uuid_text ' , ['name ' => SQLiteAdapter::PHINX_TYPE_UUID , 'limit ' => null , 'scale ' => null ]],
2844
- ['decimal ' , ['name ' => Literal::from ('decimal ' ), 'limit ' => null , 'scale ' => null ]],
2844
+ ['decimal ' , ['name ' => SQLiteAdapter::PHINX_TYPE_DECIMAL , 'limit ' => null , 'scale ' => null ]],
2845
+ ['decimal(10,5) ' , ['name ' => SQLiteAdapter::PHINX_TYPE_DECIMAL , 'limit ' => 10 , 'scale ' => 5 ]],
2846
+ ['decimal(10, 5) ' , ['name ' => SQLiteAdapter::PHINX_TYPE_DECIMAL , 'limit ' => 10 , 'scale ' => 5 ]],
2845
2847
['point ' , ['name ' => Literal::from ('point ' ), 'limit ' => null , 'scale ' => null ]],
2846
2848
['polygon ' , ['name ' => Literal::from ('polygon ' ), 'limit ' => null , 'scale ' => null ]],
2847
2849
['linestring ' , ['name ' => Literal::from ('linestring ' ), 'limit ' => null , 'scale ' => null ]],
@@ -2917,7 +2919,7 @@ public function provideSqlTypes()
2917
2919
['JSONB_TEXT ' , ['name ' => SQLiteAdapter::PHINX_TYPE_JSONB , 'limit ' => null , 'scale ' => null ]],
2918
2920
['UUID ' , ['name ' => SQLiteAdapter::PHINX_TYPE_UUID , 'limit ' => null , 'scale ' => null ]],
2919
2921
['UUID_TEXT ' , ['name ' => SQLiteAdapter::PHINX_TYPE_UUID , 'limit ' => null , 'scale ' => null ]],
2920
- ['DECIMAL ' , ['name ' => Literal:: from ( ' decimal ' ) , 'limit ' => null , 'scale ' => null ]],
2922
+ ['DECIMAL ' , ['name ' => SQLiteAdapter:: PHINX_TYPE_DECIMAL , 'limit ' => null , 'scale ' => null ]],
2921
2923
['POINT ' , ['name ' => Literal::from ('point ' ), 'limit ' => null , 'scale ' => null ]],
2922
2924
['POLYGON ' , ['name ' => Literal::from ('polygon ' ), 'limit ' => null , 'scale ' => null ]],
2923
2925
['LINESTRING ' , ['name ' => Literal::from ('linestring ' ), 'limit ' => null , 'scale ' => null ]],
0 commit comments