Class: OrdDb::AddGeneratives
- Inherits:
-
Object
- Object
- OrdDb::AddGeneratives
- Defined in:
- lib/ordlite/schema.rb
Overview
migrations helpers
Instance Method Summary collapse
Instance Method Details
#up ⇒ Object
201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'lib/ordlite/schema.rb', line 201 def up ActiveRecord::Schema.define do create_table :generatives, :id => :string do |t| t.string :factory_id, null: false t.string :g, null: false ## use space separated numbers - why? why not? t.binary :content ### optional for now - why? why not? ## timestamp last t. end end # block Schema.define end |