Class: CreateRms
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateRms
- Defined in:
- lib/generators/openehr/migration/templates/rms.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/generators/openehr/migration/templates/rms.rb', line 2 def change create_table :rms do |t| t.string :node_id t.string :path t.references :archetype, index: true t.string :text_value t.float :num_value t.date :date_value t.time :time_value t.boolean :bool_value t. end end |