diff options
Diffstat (limited to '')
-rw-r--r-- | db/migrate/20241114170349_create_categories.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20241114170349_create_categories.rb b/db/migrate/20241114170349_create_categories.rb new file mode 100644 index 0000000..983f85c --- /dev/null +++ b/db/migrate/20241114170349_create_categories.rb @@ -0,0 +1,11 @@ +class CreateCategories < ActiveRecord::Migration[8.0] + def change + create_table :categories do |t| + t.string :name + t.string :colour + t.string :badge_foreground_colour + + t.timestamps + end + end +end |