mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
13 lines
255 B
Ruby
13 lines
255 B
Ruby
class CreateUserNps < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :user_nps do |t|
|
|
t.references :user
|
|
t.string :action_type
|
|
t.integer :action_id
|
|
t.float :score
|
|
t.text :memo
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|