Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #24054 from kamipo/extract_default_primary_key | Rafael França | 2016-03-11 | 1 | -8/+7 |
|\ | | | | | Extract `default_primary_key?` to refactor `column_spec_for_primary_key` | ||||
| * | Extract `default_primary_key?` to refactor `column_spec_for_primary_key` | Ryuta Kamizono | 2016-03-11 | 1 | -8/+7 |
| | | |||||
* | | Initialize `column.table_name` immediately for `column.serial?` correctly ↵ | Ryuta Kamizono | 2016-03-08 | 1 | -1/+1 |
|/ | | | | | | | | working Currently the results of `column.serial?` is not correct. For `column.serial?` correctly working, initialize `column.table_name` immediately. | ||||
* | No need to extract a limit for a boolean type | Ryuta Kamizono | 2016-03-04 | 1 | -4/+0 |
| | |||||
* | Exclude `:name` and `:type` from `prepare_column_options` | Ryuta Kamizono | 2016-02-29 | 1 | -1/+1 |
| | | | | Actually `:name` and `:type` are not column options. | ||||
* | `schema_type` returns symbol rather than string | Ryuta Kamizono | 2016-02-08 | 1 | -2/+2 |
| | | | | | | | | | A return value of `schema_type` is used by: 1. primary key type: using as `symbol.inspect` 2. normal column type: using as `symbol.to_s` It is better to return symbol. | ||||
* | Allow bigint with default nil for avoiding auto increment primary key | Ryuta Kamizono | 2015-11-02 | 1 | -2/+5 |
| | | | | Such as #10404, #18206. | ||||
* | Fix to correctly schema dump the `tinyblob` | Ryuta Kamizono | 2015-10-15 | 1 | -0/+8 |
| | | | | | | Currently `tinyblob` is dumped to `t.binary "tiny_blob", limit: 255`. But `t.binary ... limit: 255` is generating SQL to `varchar(255)`. It is incorrect. This commit fixes this problem. | ||||
* | Move the methods for schema dumping into `{mysql,postgresql}/schema_dumper.rb` | Ryuta Kamizono | 2015-10-13 | 1 | -0/+48 |
Current master branch includes many schema dumping improvements. It extract these features to the appropriate files. |