russian-book-story/db/migrate/20260425153000_create_characters.rb
viktorvsk f3d33199f0
Some checks failed
CI / Lint & Test (push) Has been cancelled
Deploy Status Page / Build & Deploy (push) Has been cancelled
Волшебная Книга: Russian book storytelling app
- Book-styled UI with parchment aesthetic and Russian navigation
- Characters model with Konva.js 2D canvas drawing (draggable shapes)
- StoryPages model with character association and page navigation
- Stimulus controllers: canvas (editor) + canvas-preview (read-only)
- Full Russian interface: all labels, buttons, flash messages in Russian
2026-04-25 15:29:15 +00:00

15 lines
300 B
Ruby

# frozen_string_literal: true
class CreateCharacters < ActiveRecord::Migration[8.0]
def change
create_table :characters do |t|
t.string :name, null: false
t.text :description
t.text :canvas_data
t.string :color, default: "#c8956c"
t.timestamps
end
end
end