check duplicate record

This commit is contained in:
nandar
2018-08-20 13:03:11 +06:30
parent d1dfb1d262
commit 323dd43dd2
5 changed files with 58 additions and 15 deletions

View File

@@ -0,0 +1,9 @@
class CreateSetting < ActiveRecord::Migration[5.0]
def change
create_table :settings do |t|
t.string :key
t.string :value
t.string :name
end
end
end