From e9f3ed0795b1827472337e9bd0b108dec8d7cdea Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 30 Oct 2023 14:34:22 -0400 Subject: Installed Wittle --- db/migrate/20231030181439_create_wittle_puzzles.wittle.rb | 12 ++++++++++++ db/migrate/20231030181440_create_wittle_scores.wittle.rb | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 db/migrate/20231030181439_create_wittle_puzzles.wittle.rb create mode 100644 db/migrate/20231030181440_create_wittle_scores.wittle.rb (limited to 'db/migrate') diff --git a/db/migrate/20231030181439_create_wittle_puzzles.wittle.rb b/db/migrate/20231030181439_create_wittle_puzzles.wittle.rb new file mode 100644 index 0000000..9accf92 --- /dev/null +++ b/db/migrate/20231030181439_create_wittle_puzzles.wittle.rb @@ -0,0 +1,12 @@ +# This migration comes from wittle (originally 20231028205751) +class CreateWittlePuzzles < ActiveRecord::Migration[7.1] + def change + create_table :wittle_puzzles do |t| + t.text :data + t.text :solved_data + t.string :category + + t.timestamps + end + end +end diff --git a/db/migrate/20231030181440_create_wittle_scores.wittle.rb b/db/migrate/20231030181440_create_wittle_scores.wittle.rb new file mode 100644 index 0000000..5110221 --- /dev/null +++ b/db/migrate/20231030181440_create_wittle_scores.wittle.rb @@ -0,0 +1,13 @@ +# This migration comes from wittle (originally 20231028210722) +class CreateWittleScores < ActiveRecord::Migration[7.1] + def change + create_table :wittle_scores do |t| + t.references :puzzle, null: false + t.string :name + t.string :ip + t.integer :seconds_taken + + t.timestamps + end + end +end -- cgit 1.4.1