mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
18 lines
360 B
Ruby
18 lines
360 B
Ruby
class CreateTraceUsers < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :trace_users do |t|
|
|
t.references :user
|
|
t.string :username
|
|
t.string :password
|
|
t.string :unit
|
|
t.string :telnumber
|
|
t.string :email
|
|
t.string :name
|
|
t.text :token
|
|
t.datetime :expired_at
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|