Skip to content

Instantly share code, notes, and snippets.

@luizkowalski
Last active August 29, 2015 14:01
Show Gist options
  • Save luizkowalski/1fc32b0d12cb6dc19d08 to your computer and use it in GitHub Desktop.
Save luizkowalski/1fc32b0d12cb6dc19d08 to your computer and use it in GitHub Desktop.
create_table "lancamentocontabil", force: true do |t|
t.datetime "datacadastro"
t.datetime "datalancamento", null: false
t.boolean "filial"
t.text "historico"
t.string "tipo", limit: 1
t.decimal "valor", precision: 12, scale: 2
t.integer "conta_id", limit: 8
t.integer "empresa_id", limit: 8, null: false
t.text "complemento"
end
create_table "movimentacaocontabil", force: true do |t|
t.boolean "avulsa"
t.date "datamovimentacao"
t.boolean "filial"
t.integer "lote", limit: 8, null: false
t.decimal "valor", precision: 12, scale: 2, null: false
t.datetime "dataalteracao"
t.datetime "datacadastro"
t.integer "usuarioalteracao_id", limit: 8
t.integer "usuariocadastro_id", limit: 8
t.integer "empresa_id", limit: 8, null: false
end
create_table "movimentacaocontabil_lancamentocontabil", id: false, force: true do |t|
t.integer "movimentacaocontabil_id", limit: 8, null: false
t.integer "lancamentos_id", limit: 8, null: false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment