If you run the migrations it should create the database for you.
On Sat, Jan 18, 2014 at 3:46 AM, arca0 wrote:
> ok, I'm an absolute newbie myself so I'm just guessing away here, but
> since nobody else is responding, here goes ;D
>
> I can't see a single line of code that would be responsible
Do you actually call App.create? Camping will not do this for you
automatically (unless you're using the Camping Server, aka
bin/camping).
// Magnus Holm
On Fri, Jan 17, 2014 at 9:07 AM, Francois Sery wrote:
> Bonjour,
> here is my app code and the trace. thanks for your help.
>
>
>
> #app.rb
ok, I'm an absolute newbie myself so I'm just guessing away here, but since
nobody else is responding, here goes ;D
I can't see a single line of code that would be responsible for creating
the db file. Is the app.db file in your project directory on the instance?
If not, can you try copying it fro
yes ! the answer is 3.6.20
2014/1/17 arca0
> does your elastic beanstalk instance have sqlite3 installed? can you run
> sqlite3
> --version on it?
>
>
> On 17 January 2014 09:07, Francois Sery wrote:
>
>> Bonjour,
>> here is my app code and the trace. thanks for your help.
>>
>>
>>
>> #app.
does your elastic beanstalk instance have sqlite3 installed? can you
run sqlite3
--version on it?
On 17 January 2014 09:07, Francois Sery wrote:
> Bonjour,
> here is my app code and the trace. thanks for your help.
>
>
>
> #app.rb
> require 'camping'
> require 'sqlite3'
>
> Camping.goes :App
Bonjour,
here is my app code and the trace. thanks for your help.
#app.rb
require 'camping'
require 'sqlite3'
Camping.goes :App
module App::Models
#models
class Personne < Base
end
#migrations
class BasicFields < V 1.0
def self.up
create_table Person
6 matches
Mail list logo