Sha256: 07a200e7382c7df38371dd83aa680243eeef4d5f32ff150ad49d077b9de94db2
Contents?: true
Size: 506 Bytes
Versions: 5
Compression:
Stored size: 506 Bytes
Contents
# frozen_string_literal: true class CreateTables < ActiveRecord::Migration[5.0] def change create_table :abcdefghijklms do |t| end create_table :articles do |t| t.string :title end create_table :cleans do |t| end create_table :comments do |t| t.string :body t.references :article, index: true, foreign_key: true end create_table :posts do |t| t.string :title end create_table :users do |t| t.string :name end end end
Version data entries
5 entries across 5 versions & 1 rubygems