Skip to content

Commit

Permalink
Update migrations.moon
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Oct 27, 2016
1 parent 170ca65 commit d4ae893
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions migrations.moon
Expand Up @@ -128,4 +128,12 @@ import create_table, types, drop_table, add_column, rename_column from require "
}, {
user_id: 1 --matching what
}
[18]: =>
create_table "johns", {
{"id", types.serial primary_key: true}
{"john", types.text}

{"created_at", types.time}
{"updated_at", types.time}
}
}

0 comments on commit d4ae893

Please sign in to comment.