Commit a6c808e4 by ivan Lan

Add meta to catalog

parent 7ebcb238
...@@ -4,6 +4,7 @@ class CreateShotengaiCatalogs < ActiveRecord::Migration[5.1] ...@@ -4,6 +4,7 @@ class CreateShotengaiCatalogs < ActiveRecord::Migration[5.1]
t.string :name t.string :name
t.string :level_type t.string :level_type
t.string :image t.string :image
t.json :meta
# STI # STI
t.string :type t.string :type
t.references :super_catalog, index: true t.references :super_catalog, index: true
......
...@@ -7,6 +7,7 @@ module Shotengai ...@@ -7,6 +7,7 @@ module Shotengai
# name :string(255) # name :string(255)
# level_type :string(255) # level_type :string(255)
# image :string(255) # image :string(255)
# meta :json
# type :string(255) # type :string(255)
# super_catalog_id :integer # super_catalog_id :integer
# created_at :datetime not null # created_at :datetime not null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment