FIX update setting api for nav bar url

This commit is contained in:
jasder
2021-03-22 17:58:15 +08:00
parent c07c570061
commit aa23762b2f
5 changed files with 49 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
class CreateSites < ActiveRecord::Migration[5.2]
def change
create_table :sites do |t|
t.string :name, comment: "中文名称"
t.string :url, comment: "具体链接"
t.string :key, comment: "标识"
t.integer :site_type, comment: "分类,按照分类编排链接"
t.timestamps
end
end
end