mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 17:55:56 +08:00
FIX update setting api for nav bar url
This commit is contained in:
12
db/migrate/20210322084619_create_sites.rb
Normal file
12
db/migrate/20210322084619_create_sites.rb
Normal 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
|
||||
Reference in New Issue
Block a user