Create SettingEntry model

This commit is contained in:
Karl Erik Õunapuu 2020-08-11 11:57:51 +03:00
parent 21d246cc3e
commit a0c21d005e
3 changed files with 136 additions and 1 deletions

View file

@ -0,0 +1,16 @@
class CreateSettingEntries < ActiveRecord::Migration[6.0]
def change
create_table :setting_entries do |t|
t.string :code, null: false, index: { unique: true }
t.string :value, null: false
t.string :group, null: false
t.string :format, null: false
# Versioning related
t.string :creator_str
t.string :updator_str
t.timestamps
end
end
end