about summary refs log tree commit diff stats
path: root/db/migrate/20231130173455_create_puzzles.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
commit0929719a845897cc8567cf972e07a69a71f0fa6f (patch)
tree2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /db/migrate/20231130173455_create_puzzles.rb
parent01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff)
downloadwittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip
Migrate to a full rails app
Diffstat (limited to 'db/migrate/20231130173455_create_puzzles.rb')
-rw-r--r--db/migrate/20231130173455_create_puzzles.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20231130173455_create_puzzles.rb b/db/migrate/20231130173455_create_puzzles.rb new file mode 100644 index 0000000..548473a --- /dev/null +++ b/db/migrate/20231130173455_create_puzzles.rb
@@ -0,0 +1,11 @@
1class CreatePuzzles < ActiveRecord::Migration[7.1]
2 def change
3 create_table :puzzles do |t|
4 t.text :data
5 t.text :solved_data
6 t.string :category
7
8 t.timestamps
9 end
10 end
11end