From 0929719a845897cc8567cf972e07a69a71f0fa6f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 30 Nov 2023 13:29:08 -0500 Subject: Migrate to a full rails app --- db/migrate/20231130173455_create_puzzles.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/20231130173455_create_puzzles.rb (limited to 'db/migrate/20231130173455_create_puzzles.rb') 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 @@ +class CreatePuzzles < ActiveRecord::Migration[7.1] + def change + create_table :puzzles do |t| + t.text :data + t.text :solved_data + t.string :category + + t.timestamps + end + end +end -- cgit 1.4.1