Skip to content

Commit

Permalink
essential migration forgotten
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Jan 6, 2018
1 parent cbfdf36 commit 006106e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion migrations.moon
Expand Up @@ -124,7 +124,7 @@ import create_table, types, drop_table, add_column, rename_column, rename_table
drop_table "colors"
[17]: =>
db.update "crafts", {
user_id: 0 --what to change
user_id: 0 --change to
}, {
user_id: 1 --matching what
}
Expand Down Expand Up @@ -218,4 +218,10 @@ import create_table, types, drop_table, add_column, rename_column, rename_table
{"post_id", types.foreign_key}
{"tag_id", types.foreign_key}
}
[29]: =>
db.update "posts", {
type: 7 --change to
}, {
type: 9 --matching what
}
}

0 comments on commit 006106e

Please sign in to comment.