Sha256: ae6f2ca79673284567acad15df533e5a2fc3b5bc11a2d4a6817ac287b1e3e7a9
Contents?: true
Size: 633 Bytes
Versions: 5
Compression:
Stored size: 633 Bytes
Contents
class CreateRopenlayerStructure < ActiveRecord::Migration def self.up create_table :ropenlayer_nodes do |t| t.string :mapper_id t.integer :mapper_type t.string :geometry t.integer :category_id t.integer :icon_id t.string :nodeable_type t.integer :nodeable_id t.timestamps end create_table :ropenlayer_localizations do |t| t.float :longitude t.float :latitude t.integer :node_id t.integer :order t.timestamps end end def self.down drop_table :ropenlayer_nodes drop_table :ropenlayer_localizations end end
Version data entries
5 entries across 5 versions & 1 rubygems