Initial commit - Fase 1: Setup Rails + Docker

This commit is contained in:
2026-06-10 17:40:07 -03:00
commit eb812868e5
30 changed files with 1390 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
class CreateConfiguracoes < ActiveRecord::Migration[7.1]
def change
create_table :configuracoes do |t|
t.string :chave, null: false
t.string :valor, null: false
t.string :descricao
t.integer :updated_by # user_id de quem editou por último
t.timestamps
end
add_index :configuracoes, :chave, unique: true
end
end