competitions
parent
c337d36794
commit
acd5c28bb1
@ -0,0 +1,2 @@
|
|||||||
|
class ModuleSetting < ApplicationRecord
|
||||||
|
end
|
@ -0,0 +1,12 @@
|
|||||||
|
class CreateModuleSettings < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
create_table :module_settings do |t|
|
||||||
|
t.string :module_type
|
||||||
|
t.string :property
|
||||||
|
|
||||||
|
t.timestamps
|
||||||
|
end
|
||||||
|
|
||||||
|
add_index :module_settings, :module_type
|
||||||
|
end
|
||||||
|
end
|
@ -0,0 +1,5 @@
|
|||||||
|
require 'rails_helper'
|
||||||
|
|
||||||
|
RSpec.describe ModuleSetting, type: :model do
|
||||||
|
pending "add some examples to (or delete) #{__FILE__}"
|
||||||
|
end
|
Loading…
Reference in new issue