Class: RuleSchema
- Inherits:
-
Object
- Object
- RuleSchema
- Defined in:
- lib/mihari/database.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
104 105 106 107 108 109 110 111 |
# File 'lib/mihari/database.rb', line 104 def change create_table :rules, id: :string, if_not_exists: true do |t| t.string :title, null: false t.string :description, null: false t.json :data, null: false t. end end |