Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
42ca4bb9
Commit
42ca4bb9
authored
Nov 12, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed `yii\log\DbTarget` migration and SQLs to use float column for log_time
parent
a79828d1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
m141106_185632_log_init.php
framework/log/migrations/m141106_185632_log_init.php
+1
-1
schema-mssql.sql
framework/log/migrations/schema-mssql.sql
+1
-1
schema-mysql.sql
framework/log/migrations/schema-mysql.sql
+1
-1
schema-oci.sql
framework/log/migrations/schema-oci.sql
+1
-1
schema-pgsql.sql
framework/log/migrations/schema-pgsql.sql
+1
-1
schema-sqlite.sql
framework/log/migrations/schema-sqlite.sql
+1
-1
No files found.
framework/log/migrations/m141106_185632_log_init.php
View file @
42ca4bb9
...
...
@@ -65,7 +65,7 @@ class m141106_185632_log_init extends Migration
'id'
=>
Schema
::
TYPE_BIGPK
,
'level'
=>
Schema
::
TYPE_INTEGER
,
'category'
=>
Schema
::
TYPE_STRING
,
'log_time'
=>
Schema
::
TYPE_
INTEGER
,
'log_time'
=>
Schema
::
TYPE_
FLOAT
,
'prefix'
=>
Schema
::
TYPE_TEXT
,
'message'
=>
Schema
::
TYPE_TEXT
,
],
$tableOptions
);
...
...
framework/log/migrations/schema-mssql.sql
View file @
42ca4bb9
...
...
@@ -19,7 +19,7 @@ create table [log]
[
id
]
bigint
IDENTITY
PRIMARY
KEY
,
[
level
]
integer
,
[
category
]
varchar
(
255
),
[
log_time
]
integer
,
[
log_time
]
float
,
[
prefix
]
text
,
[
message
]
text
);
...
...
framework/log/migrations/schema-mysql.sql
View file @
42ca4bb9
...
...
@@ -19,7 +19,7 @@ create table `log`
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
PRIMARY
KEY
,
`level`
integer
,
`category`
varchar
(
255
),
`log_time`
integer
,
`log_time`
float
,
`prefix`
text
,
`message`
text
,
key
`idx_log_level`
(
`level`
),
...
...
framework/log/migrations/schema-oci.sql
View file @
42ca4bb9
...
...
@@ -19,7 +19,7 @@ create table "log"
"id"
number
(
20
)
NOT
NULL
PRIMARY
KEY
,
"level"
integer
,
"category"
varchar
(
255
),
"log_time"
integer
,
"log_time"
float
,
"prefix"
text
,
"message"
text
,
key
"idx_log_level"
(
"level"
),
...
...
framework/log/migrations/schema-pgsql.sql
View file @
42ca4bb9
...
...
@@ -19,7 +19,7 @@ create table "log"
"id"
bigserial
NOT
NULL
PRIMARY
KEY
,
"level"
integer
,
"category"
varchar
(
255
),
"log_time"
integer
,
"log_time"
real
,
"prefix"
text
,
"message"
text
);
...
...
framework/log/migrations/schema-sqlite.sql
View file @
42ca4bb9
...
...
@@ -19,7 +19,7 @@ create table "log"
"id"
integer
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
"level"
integer
,
"category"
varchar
(
255
),
"log_time"
integer
,
"log_time"
float
,
"prefix"
text
,
"message"
text
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment