Skip to content

Instantly share code, notes, and snippets.

@tommotorefi
tommotorefi / gist:312b8e7123814655021def200f5a3cf6
Created September 11, 2017 13:54
schema dump of point type
pointtest> $ cat db/migrate/20170911135136_create_pointers.rb
class CreatePointers < ActiveRecord::Migration[5.1]
def change
create_table :pointers do |t|
t.column :point, 'point'
t.timestamps
end
end
end
pointtest> $ ber db:schema:dump