0
我的移民文件看起来像这样:如何编辑存储在Rubymine数据库中的数据?
class CreateSages < ActiveRecord::Migration
def change
create_table :sages do |t|
t.string :Name
t.string :Email
t.string :Address
t.integer :Number
t.timestamps
end
end
end
我的先贤表是建立在数据库中。
从控制台使用AR?使用客户端来访问您正在使用的任何数据库? –
什么是AR?你能否详细说明一下? –
ActiveRecord。这意味着编写Ruby代码来编辑数据。这完全不清楚你想要做什么。 –