check duplicate record
This commit is contained in:
9
db/migrate/20180810041316_create_setting.rb
Normal file
9
db/migrate/20180810041316_create_setting.rb
Normal 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
|
||||
Reference in New Issue
Block a user