Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support for any type primary key. | Ryuta Kamizono | 2014-12-28 | 1 | -1/+5 |
| | |||||
* | Merge pull request #17799 from kamipo/refactor_add_column_options | Rafael Mendonça França | 2014-11-28 | 1 | -2/+2 |
|\ | | | | | Refactor `add_column_options!`, to move the quoting of default value for :uuid in `quote_value`. | ||||
| * | Rename to `quote_default_expression` from `quote_value` | Ryuta Kamizono | 2014-11-28 | 1 | -2/+2 |
| | | |||||
* | | Refactor `SchemaCreation#visit_AddColumn` | Ryuta Kamizono | 2014-11-27 | 1 | -3/+1 |
|/ | |||||
* | Add and Remove string/strip require | Arthur Neves | 2014-09-02 | 1 | -0/+2 |
| | | | | | | | Method .strip_heredoc is defined in active_support/core_ext/string/strip.rb so we need to require it. [fixes #16677] | ||||
* | Always pass a column with a type object to quote | Sean Griffin | 2014-06-28 | 1 | -0/+5 |
| | | | | | | | | The only case where we got a column that was not `nil`, but did not respond to `cast_type` was when type casting the default value during schema creation. We can look up the cast type, and add that object to the column definition. Will allow us to consistently rely on the type objects for type casting in all directions. | ||||
* | fk: review corrections: indent, visibility, syntax, wording. | Yves Senn | 2014-06-26 | 1 | -18/+18 |
| | |||||
* | fk: use random digest names | Yves Senn | 2014-06-26 | 1 | -1/+1 |
| | | | | | | The name of the foreign key is not relevant from a users perspective. Using random names resolves the urge to rename the foreign key when the respective table or column is renamed. | ||||
* | fk: raise for invalid :on_update / :on_delete values | Yves Senn | 2014-06-26 | 1 | -3/+8 |
| | |||||
* | fk: support for on_update | Yves Senn | 2014-06-26 | 1 | -2/+3 |
| | |||||
* | fk: rename `dependent` to `on_delete` | Yves Senn | 2014-06-26 | 1 | -6/+5 |
| | |||||
* | fk: support dependent option (:delete, :nullify and :restrict). | Yves Senn | 2014-06-26 | 1 | -1/+12 |
| | |||||
* | fk: generalize using `AlterTable` and `SchemaCreation`. | Yves Senn | 2014-06-26 | 1 | -0/+14 |
| | |||||
* | fix bug on non empty defaults for pg array columns | Luke Steensen | 2014-03-30 | 1 | -1/+7 |
| | | | | fixes #10613 | ||||
* | No need to call to_sym | Rafael Mendonça França | 2014-03-30 | 1 | -2/+2 |
| | | | | It is already called inside type_to_sql method. | ||||
* | support creating temporary tables from queries | Cody Cutrer | 2013-12-14 | 1 | -3/+4 |
| | | | | | also override drop_table in AbstractMySQLAdapter to properly drop temporary tables without committing the transaction | ||||
* | Move `SchemaCreation` to its own file instead of `AbstractAdapter`. | Vipul A M | 2013-11-12 | 1 | -0/+83 |