Current sync
This commit is contained in:
@@ -3,8 +3,7 @@ class CreateMoneyMoves < ActiveRecord::Migration[5.2]
|
||||
create_table :money_moves do |t|
|
||||
t.text :description
|
||||
t.decimal :amount, precision: 12, scale: 3
|
||||
t.integer :from_homie_id, null: false
|
||||
t.integer :to_homie_id, null: false
|
||||
t.integer :homie_id, null: false
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
@@ -26,8 +26,7 @@ ActiveRecord::Schema.define(version: 2019_06_20_200006) do
|
||||
create_table "money_moves", force: :cascade do |t|
|
||||
t.text "description"
|
||||
t.decimal "amount", precision: 12, scale: 3
|
||||
t.integer "from_homie_id", null: false
|
||||
t.integer "to_homie_id", null: false
|
||||
t.integer "homie_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
@@ -5,3 +5,5 @@
|
||||
#
|
||||
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
|
||||
# Character.create(name: 'Luke', movie: movies.first)
|
||||
#
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user