lexivo/db/migrate/20260422000001_create_words.rb
Fibe Agent e9f5d8ece2
Some checks failed
CI / Lint & Test (push) Has been cancelled
Deploy Status Page / Build & Deploy (push) Has been cancelled
Lexivo: vocabulary learning app with SM-2 spaced repetition
- Word import (multi-format: word, word-def, word:def, word|def)
- Flashcard filter UI (swipe + keyboard arrows + Space to flip)
- SM-2 spaced repetition review queue
- Stimulus flashcard controller with 3D flip animation
2026-04-22 15:02:45 +00:00

12 lines
253 B
Ruby

class CreateWords < ActiveRecord::Migration[8.1]
def change
create_table :words do |t|
t.string :text, null: false
t.text :definition
t.text :example
t.timestamps
end
add_index :words, :text, unique: true
end
end