diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-08-06 16:24:09 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-08-06 16:24:09 -0600 |
commit | 0cfa496697662a2a8cca3ce10591d846b8b43e14 (patch) | |
tree | 73c87650a24ab6470cf98b5c91585a8f36997b5f /activerecord/lib/active_record | |
parent | 6caeec53d56ccd4085619435930b744bcbaf13fa (diff) | |
parent | 7f2037a990fd81e07f612169f72e8d59fc2a4e52 (diff) | |
download | rails-0cfa496697662a2a8cca3ce10591d846b8b43e14.tar.gz rails-0cfa496697662a2a8cca3ce10591d846b8b43e14.tar.bz2 rails-0cfa496697662a2a8cca3ce10591d846b8b43e14.zip |
Merge pull request #20459
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb index 022dbdfa27..6399bddbee 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb @@ -103,6 +103,30 @@ module ActiveRecord args.each { |name| column(name, :point, options) } end + def line(*args, **options) + args.each { |name| column(name, :line, options) } + end + + def lseg(*args, **options) + args.each { |name| column(name, :lseg, options) } + end + + def box(*args, **options) + args.each { |name| column(name, :box, options) } + end + + def path(*args, **options) + args.each { |name| column(name, :path, options) } + end + + def polygon(*args, **options) + args.each { |name| column(name, :polygon, options) } + end + + def circle(*args, **options) + args.each { |name| column(name, :circle, options) } + end + def serial(*args, **options) args.each { |name| column(name, :serial, options) } end |