Carsten Brandt
abc7dbbf0f
added missing @since annotations
2015-08-04 12:40:12 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
681db52ba6
refactored SchemaBuilder
...
- rename class to ColumnSchemaBuilder as this is more appropriate
- changed internal organisation to match how the rest of schema related classes work
- the ColumnSchemaBuilder is now created the same way as QueryBuilder is
- removed static call magic and method annotations, now real methods are called as they are
- the whole code works on objects in a db context now instead of setting database connection in global state
- trait is now used by Migration by default but can be used in other contexts as well
Migration usage is now as follows:
```php
$this->createTable('example_table', [
'id' => $this->primaryKey(),
'name' => $this->string(64)->notNull(),
'type' => $this->integer()->notNull()->defaultValue(10),
'description' => $this->text(),
'rule_name' => $this->string(64),
'data' => $this->text(),
'created_at' => $this->datetime()->notNull(),
'updated_at' => $this->datetime(),
]);
```
2015-08-03 23:25:50 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
6e3da6b329
various phpdoc fixes
2015-08-02 22:53:08 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yasser Hassan
1df3bb29ea
Clarify escaping column name quoting in createIndex()
...
Added information about when column names are not quoted when using createIndex() as discussed in #9017 . "left parenthesis" was used rather than just "parenthesis" to reflect the exact code working.
2015-07-06 12:41:07 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Klimov Paul
e683e3e79d
Schema refresh moved to Migration::init().
2015-06-08 11:32:09 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Klimov Paul
6ea19e8f45
Schema refreshing added to yii\db\Migration::execute()
2015-06-04 13:56:23 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
8c3dce88dd
fixed phpdoc
2015-02-03 00:03:13 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
resurtm
233388fdd6
Remove non-necessary leading slash in use operator.
2015-02-02 11:55:32 +06:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as DbCache
2015-01-04 19:28:05 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
385e13978d
Fixes #4800 .
2014-08-23 18:18:31 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
3f597fd45d
updated doc [skip ci]
2014-08-22 10:06:42 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Klimov Paul
166465ec7a
MigrationInterface extracted
2014-06-17 18:00:22 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Paul K
b09d0f12af
overwrite -> override
2014-04-29 13:54:21 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
2014-03-18 12:31:27 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
f9024dbec1
fixed Migration::execute() to use params correctly
2014-02-24 17:37:43 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Sergey Gonimar
ee2a6b7e76
Update Migration.php
2014-02-16 14:05:07 +05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
bea9e3fc06
Fixes #1645 : Added support for nested DB transactions
2014-02-15 22:16:09 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
3e9a074394
Merge pull request #2050 from yiisoft/feature-fixture
...
Feature fixture
2014-01-18 21:08:55 -08:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
87be9deaf0
refactored fixture.
2014-01-18 16:18:33 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Vladimir
d5cd6b0dfe
Update Migration.php
...
add ability to use an array in multi columns parameters
2014-01-18 17:12:20 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
resurtm
e9ad7d6e36
Rollback word consistencty over entire codebase (ref. #139 ).
2013-05-06 17:46:34 +06:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
8b2b7915b4
Renamed application to app.
2013-02-05 16:12:22 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
abd3d827a2
refactoring.
2013-01-18 10:37:22 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
c63c78385e
...
2011-12-26 19:36:24 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
a33d152d77
removed package and version tags
2011-12-09 18:13:36 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
f8ea58826e
cleaned up @since
2011-12-09 18:07:07 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
f9aa9a181f
code refactoring.
2011-11-11 21:34:40 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
0021599416
w
2011-08-01 11:55:40 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)